Indent in TypeScript Treegrid control
18 Nov 20181 minute to read
The Indent and Outdent feature will help to change the hierarchy level of rows in tree grid. The indent action moves the selected row as the last child of its previous row, whereas the outdent action moves the selected row as a sibling to its parent row.
To use the indent and outdent feature, inject the RowDD module in the Tree Grid. The tree grid toolbar has the built-in items to execute indent and outdent actions. Define this by using the toolbar property.
Indent/Outdent a row programmatically
You can change the hierarchy level of record programmatically using indent and outdent methods.