I have an AdvancedDataGrid structured as a tree. Since the non-leaf nodes have an arrow to open/close them (I have no icons), their labels start just after the arrow, and the leaf nodes in the same level are indented to be aligned to them. I want to cancel that indentation so the leaf nodes will start from the beginning of the column. I tried to set the indentation to 0, but it doesn't have any effect. Does anybody know how to do that, if at all possible? Thanks.
Cancel the indentation of leaf nodes in an AdvancedDataGrid tree
532 Views Asked by user940016 At
3
So as I said in my comment, I used AdvancedDataGridGroupItemRenderer. I created a subclass of it and overrode updateDisplayList, in which I set the dimensions of the disclosureIcon field to 0. That did the trick.