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

Dynamically Access Detail Table Collection on Client Side

1 Answer 53 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Loi
Top achievements
Rank 1
Loi asked on 23 Jul 2008, 05:36 PM
Hi All,

I need to know how to dynamically access table in a detail table collection on client side using Javascript.

Please help thanks

1 Answer, 1 is accepted

Sort by
0
Veli
Telerik team
answered on 24 Jul 2008, 12:20 PM
Hi Loi,

you can access the detail table collection of RadGrid's client object in the following way:

$find('<%= RadGrid1.ClientID %>').get_detailTables()

this method returns all the detail tables in all the hierarchy levels of RadGrid. So if you have a 2-level hierarchy with 2 detail tables per parent item, your first detail table would have indec 2*itemIndex and the second one - 2*itemIndex + 1.

Greetings,
Veli
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Loi
Top achievements
Rank 1
Answers by
Veli
Telerik team
Share this question
or