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.
Did you ever find a solution to this? We have the exact same problem.
The solution we eventually reached was instead of using the child table capability in our scenario, we manually insert/remove records in the underlying data source to mimic expand/collapse behavior.
Hello,
Here you can see how to synchronize the FieldLayouts:
http://es.infragistics.com/community/forums/p/62567/316956.aspx
http://es.infragistics.com/community/forums/p/53090/276218.aspx
Hope this helps you
It says "synchronization is not a built – in functionality" - so you want me to pile further workarounds on top? Nope, thanks. I want something that works relibably and doesn't require constant attention, bugfixing and more workarounds. Especially for such a simple feature...
I still don't have a properly working solution for this :(
Is 900 USD/y not enough for you to provide a solution? Do we need to pay more? We need this to work!
Here you can find a sample project showing how to achieve the functionality you want:
http://es.infragistics.com/community/forums/t/50109.aspx
Hope this helps you.
Hello again,
Here you can see out support policy:
http://es.infragistics.com/help/support-policies/
It is described what is the difference between developer support and consulting team. You can describe them your requirements and they will implement them.
> Also you if you need help to implement any custom scenarios you can contact our Consulting Team
Can they also implement this as a properly working feature for money?
> You can also suggest this feature as new Product idea here:
I have done so, but I don't need it in 10 years but rather in near future.
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.