Hi,
How do I know if a row is a parent row when a user clicks on a cell and how do I get the value of the cell in the parent row? Thanks for your help.
Hello tangolp,
In the ActiveCellChanged client-side event you can get the level of the active cell using code, similar to the following:
var level = args.getActiveCell().get_grid()._get_level();
So, having the leve, you can determine if the active row has children.
You could get a value from the parent row like this:
var val = args.getActiveCell().get_grid().get_parentRow().get_cell(1).get_value();
Let me know if this helps.
Hi tangolp,
If you need any further assistance with the matter, please let me know.