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,
Hi mbhydro,
Let me know if you have any further questions on this matter.
Hello mbhydro,
I've attached a sample that I believe does what you are looking for. The sample removes the indentations of child level records so that they remain aligned with the top level records.
Let me know if you have any questions on this.