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
1253
WHDG -ActiveCellChanged client side event
posted

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.

Parents
  • 37874
    posted

    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.

Reply Children
No Data