This is a migrated thread and some comments may be shown as answers.

[Solved] Get al child rows by parent in hirearchical grid.

0 Answers 40 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Rajeev
Top achievements
Rank 1
Rajeev asked on 22 Jul 2012, 02:03 PM
We have a hierarchical grid and also have a custom toolbar button. On toolbar button click, I have saved Parent and child rows in database. I want to validate client side, all parent and child rows before save. I am able to get all parent rows but I did not found any way to get child row for that parent row. 
Any one have Idea about it. This is the code to get all parent rows.
var grid = $("#ParentGrid").data("tGrid");
var rows = grid.$rows();
for (var i = 0; i < rows.length; i++)
{
var row = rows[i];
// Here I want to get all child rows by parent row
}

Thanks in Advance.
RK
Tags
Grid
Asked by
Rajeev
Top achievements
Rank 1
Share this question
or