Hi,
I have bound XamDataGrid to a hierarchical data source and only want one column header for the root records, all expanded child table's column header is hidden, how can I achieve this? Thanks.
Hello again,
I have modified the sample I suggested you, so now it has AutoGenerateFields set to false. Basically in the XamDataGrid' s AssigningFieldLayoutToItem event handler, I added the child Fields manually, because when you have self-reference data only one FieldLayout is used and if you want to sync the Fields and hide children headers you have to use different layouts. You can use all the suggestions and samples as basis for any further implementations.
Also you if you need help to implement any custom scenarios you can contact our Consulting Team. You can read more detailed information regarding this here in our web site:
http://d3.infragistics.com/services/
You can also suggest this feature as new Product idea here:
http://ideas.infragistics.com/
As with all these workarounds, it has a number of issues. This one for example does not work if you set AutoGenerateFields=false and define your own fields in the root layout. It will simply show all fields in child tables and not care about the custom fields. I don't even want to know what happens when you dynamically show/hide fields, but I suppose this won't work either.
Hello,
Here you can find a sample project showing how to achieve the functionality you want:
http://ko.infragistics.com/community/forums/t/50109.aspx
Hope this helps you.
Is 900 USD/y not enough for you to provide a solution? Do we need to pay more? We need this to work!
I still don't have a properly working solution for this :(