Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1320
How to remove the expand button and hide child header in a hierarchical grid
posted

Hi all,

In a hierarchical xamdatagrid, there is an expand button (+) in front of the parent row. When the parent row's children list is empty, this button is still displaying after initialization. Then, when user click the button, it disappears and child headers still visible.

I tried to solve this by using this code:

  ExpansionIndicatorDisplayMode="CheckOnDisplay" 

 and 

<igWPF:XamDataGrid.FieldSettings>
<igWPF:FieldSettings ExpandableFieldRecordExpansionMode="ShowExpansionIndicatorIfSiblingsExist"
ExpandableFieldRecordHeaderDisplayMode="Default"/>
</igWPF:XamDataGrid.FieldSettings>

Thanks for your help.