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

DetailsTable with different datasources

1 Answer 27 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Morten
Top achievements
Rank 1
Iron
Iron
Veteran
Morten asked on 20 Aug 2010, 05:00 PM
I have a single details table with AutoGenerateColumns="true" as I would like the datasource of the details table to depend on what parent item was clicked. However, the details table seem to take structure (column setup) once (at first databind) and then stick with this structure.

Can I have one details table take structure at run time every time the details table is databound?

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 23 Aug 2010, 10:28 AM
Hello Morten,

I suggest that you examine the following online example, which shows dependant grids (filtering the records in the second grid according to the selection in the first).
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/selectedvalue/defaultcs.aspx

Give it a try and let me know if it works for you.

Regards,
Pavlina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
Morten
Top achievements
Rank 1
Iron
Iron
Veteran
Answers by
Pavlina
Telerik team
Share this question
or