Hi all,
I am using a hierarchical xamdatagrid to display data.
I am generating the field layouts and fields programmatically.
On the record collapsed event, I dynamically get child objects and append them to the datarecord item.
Now, the very first record that I expand, the xamdatagrid does not display the child rows properly.
every subsequent record that I expand, it displays the child items properly.
upon debugging i did notice and ensured that it gets the child items properly and also adds them appropriately to the parent class object.
This display problem occurs only with the first record that is expanded.....all subsequent rows do not have that problem?
Is this a refresh problem?
Thank you for your valuable suggestions
I meant record expanded, sorry..and yes you were right..manually creating the field layouts was the issue,
I have got it working .
Thanks.
Hello,
Did you mean "record expanded" rather than "record collapsed" ?
I am guessing this is because you are generating the FieldLayouts manually. I am pretty sure that this works correctly when AutoGenerateFields is true, which points that you are generating the field layout too late.
Can you give us more information on your setup?