I want to create drop down list on DataGrid like this;
Item column's dropdown is based on Group column's value.
I understand that when I change Group column's value, Item column's dropdown list must refresh on the OnChangeAction.
And I think ParentId can be used for, but I don't know how to use.
What better way to solve this problem?
Hi,
Basically, the "ParentId" in the screenshot is the Id of the Parent Item of Regions Item from Database, that means when you query the Regions list, beside REGION_NM and REGION_CD, you should query the column that store parent Id of that Region and fill that Column name in "ParentId".
More over, You need to set value for "ParentBinding" attribute at Child Dropdown column, please refer image below (which is capture from Data Grid Sample Reactive module from Forge):
P.S: Further more, you can download from forge module named "Data Grid Sample Reactive" and refer to example in there.
Dear Nghia Hoang
Thank you for your advice, now it works!
Best regards.