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
490
Data hierarchy alignment in xamDataGrid
posted

Hi,

 

I’m using a xamDataGrid (v12.2) with a hierarchy of data. I have three Field Layouts defined. In the screenshot below, the ‘A’ item is the only element in FieldLayout[0]. Everything else that is expandable or collapsible is in FieldLayout[1] and the lowest level children are FieldLayout[2]. As you can see, some items in FieldLayout[1] are children and are therefore indented (eg. ‘Aa’, ‘Ab’, etc) whereas others are only parents and are inline with the FieldLayout[0] element (eg. ‘B’, ‘C’, etc).

Is it possible to not indent FieldLayout[1]. I tried adjusting the margin, but this moves all elements in FieldLayout[1] over to the right. This included the 4 items that are already on the left border. Is it possible to keep all the columns aligned (not indented) regardless of which field layout it has?

 

Any help would be appreciated. Thanks,