Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Jul 23, 2008 05:26
open dhtmlx forum
How to get the Parent RowId

I have a TreeGrid in the Page, I am selecting the nodes available in that Tree, I want the Parent RowId of the Selected Node.
Answer posted by Support on Jul 23, 2008 06:40
You can try to use the following approach:

    var id = grid.getSelectedId();
    var parent_id = grid.getParentId(id);