Hello:
I create layout0 for master table and layout1 for child table in xamdatagrid. my problem is as below:
1. Layout0 contains 21 fields and layout1 contains 22 fields.
2. During my UI operation I create first record in master table and this moment there is not any child record exists.
3. After that the xamdatagrid could display layout0 correctly.
4.And then I click on the record and add a child table contains one record from my UI.
5. After that I found xamdatagrid master table layout did not use layout0 but use new layout. The new layout created by xamdatagrid itself contains more one field than layout0 and this field is "relation1" which I created dynamically when there is master child binding relation happens .
The strange thing is that after I close the application and reexecute the application and then do qry result every thing is ok. Because this moment my database already contains master and child table record.
To solve the problem I would like to find how to reset fieldLayouts settings each time When I make xamdatagrid data binding.
Did anyone know how to reset fieldlayouts setting?
Regards,
Daniel Lee
Hello Daniel,
I am just checking if you got this worked out or you still require any assistance or clarification on the matter.