Hi,
I am currently using XamDataGrid of v11.2. I am facing an issue with displaying column headers when the data is empty.
I have a grid with 2 layouts, first one is the parent layout and second layout is the children. When the data is empty the column headers are invisible. But they are visible once I remove the second layout. Any solutions to make sure headers are visible all the time?
Looks like this problem is around for a while. I am hoping this is fixed in this latest version of controls.
Solution?
Thanks,
NG
Hello,
I am just checking if my last reply was helpful for you.
If you require any further assistance please do not hesitate to ask.
Sincerely,
Ekaterina
Developer Support Engineer
Infragistics
www.infragistics.com/support
I am attaching the corresponding sample.
Please let me know if it meets you requirements
Infragistics Inc.
I don't see the attachment. Can you please attach the application you mentioned.
Neelima.
I have been investigating into your issue and I am not completely sure which layout headers are not being displayed – the parent’s or child’s.
The fact that your headers are being rendered when you remove the second layout declaration normally indicates some issue in this declaration – if the AutoGenerateFields propretry have not been set to false, than the fields will be automatically created for you as soon as you remove the given FieldLayout.
Would you please clarify what you are referring to by empty data, is the collection null of an empty collection?
I have created a sample application following your scenario.
Please let me know if the sample application describes the functionality that you are looking for or I have misunderstood.
you in any way.