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

[Solved] Hierarchical Grid with Dynamic columns

1 Answer 237 Views
Grid
This is a migrated thread and some comments may be shown as answers.
mmbm
Top achievements
Rank 2
mmbm asked on 01 Apr 2009, 02:15 PM

HI,

My requirement is to display a hierarchical grid (I will call it as parent grid) with dynamic column( Adding column at runtime ), when user drill down first row, then we are suppose to display similar grid(with no drill down) with dynamic columns.

Problem is: First parent grid is displaying it correctly, when user tries to drill down first row (any row), child grid is getting display correctly but parent grid data is not getting persist .

We are Ajaxifying the grid.
We are using onNeedDatasource event for Parent Grid.
we are using DetailsTableDatabind event for child grid.


Any help on this will be appreciated.

Thanks,

1 Answer, 1 is accepted

Sort by
0
Nikolay Rusev
Telerik team
answered on 06 Apr 2009, 06:51 AM
Hello Kevin,

Can you tell us when you are creating your grid at run-time?
You can go through the following links which demonstrates run-time RadGrid creation:
Grid / Creating Hierarchy Programmatically
Grid / On PageInit

Best wishes,
Nikolay
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
mmbm
Top achievements
Rank 2
Answers by
Nikolay Rusev
Telerik team
Share this question
or