Hi
I am pretty new to jqwidgets and am actually just evaluating it to see if it will work as a replacement for an old site I am redoing.
When it comes to N-nested grid’s i’ve come across a possible problem.
I may be missing something so please bear with me.
Lets say we have a 3 tier grid. parentgrid, grid and subgrid.
The data in each nested grid is dependent on a key in the row if its parent.
So up front we load ParentGrid, lets say it has 5 rows.
Then when we expand a row, lets choose row 3. the initrowdetails function is called and we know that we can get the record since we know we are working with the parentgrid, we know its name and initrowdetails gives us the index for row 3.
So the first nestedgrid is called grid2, lets say this has 3 rows.
Now.. when we expand a row on grid2 (lets make it row 1) it renders subgrid0
BUT, I am unable to know which grid actually called the initrowdetails function, so there is no way to find out what the key in the record is so no way to tell web method for subgrid1 what data to pull.
what am I missing? is there some way to say this.jqxGrid(‘getrowdata’, index) for example. where this is the grid that called initrowdetails?