I'm using the XamDataGrid for a Hierarchical Grid in my application.
But, I was was wondering if it is possible to force the grid NOT to show the +/- controls to the left when there are no "sub-items"?
I know it disappears when the user clicks on it, but this isn't really very userfriendly...
Hi Christian,
In order to determine whether an expansion indicator is displayed in each record, you may use the ExpansionIndicatorDisplayMode property of FieldLayoutSettings class. You have a choice of five values, but what you probably need is "CheckOnDisplay". The default value, however, is "CheckOnExpand" that's why the indicator disappears only after clicking.
For more informaton on the matter, you may refer to the following link:
http://help.infragistics.com/NetAdvantage/WPF/2011.1/CLR4.0/?page=InfragisticsWPF4.DataPresenter.v11.1~Infragistics.Windows.DataPresenter.FieldLayoutSettings~ExpansionIndicatorDisplayMode.html
Hope this helps.