Hi,
I need to create multilevel hierarchical grid at runtime. We needs to generate details table on tab out of the column of the parent grid.
For this scenario i have created grid dynamically and added template columns to it. The problem is i need to bind the grid each time i add the details table to it. This works fine for the first level. But when i change some value in first child grid and needs to open next level hierarchy grid, the gird does not display all the child level detail tables. This is because, when we rebind the grid the grid looses the data in the intermediate detail table and just displays the top level data.
Is there any way to maintain the state, and without binding is it possible to load details table dynamically.
Could anyone provide sample for loading multi level hierarchical grid dynamically at runtime based on the value entered in the parent grid.
Thanks
Ravi
I need to create multilevel hierarchical grid at runtime. We needs to generate details table on tab out of the column of the parent grid.
For this scenario i have created grid dynamically and added template columns to it. The problem is i need to bind the grid each time i add the details table to it. This works fine for the first level. But when i change some value in first child grid and needs to open next level hierarchy grid, the gird does not display all the child level detail tables. This is because, when we rebind the grid the grid looses the data in the intermediate detail table and just displays the top level data.
Is there any way to maintain the state, and without binding is it possible to load details table dynamically.
Could anyone provide sample for loading multi level hierarchical grid dynamically at runtime based on the value entered in the parent grid.
Thanks
Ravi