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

Access NestedTemplate at client Side

1 Answer 37 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sreeram
Top achievements
Rank 1
Sreeram asked on 05 Jun 2012, 05:20 AM
Hi Team,

I have a RadGrid with the NestedView Template. So on Expansion of Row in a Grid, We wll have TabStrip control with 5 tabs,
Now i need to iterate the Rows in the Grid and find which row is expanded and what tab is selected at client side.
Currently i am able to find which row is expanded , but when i try to get  NestedViews length it is returing as 0 . Could you please help to get the NestedView items at client side.

if (rows[i].get_nestedViews().length > 0)

 {

 var nestedView = rows[i].get_nestedViews()[0];

 for (var i = 0; i < nestedView.get_dataItems().length; i++) {

 var tabstrip = nestedView.get_dataItems()[i];

 alert(tabstrip.SelectedIndex.toString());

 }

 alert(nestedView.get_name());

 }

1 Answer, 1 is accepted

Sort by
0
Sreeram
Top achievements
Rank 1
answered on 06 Jun 2012, 04:49 AM
Hi Team,

any update on this. Please help as soon as possible
Tags
Grid
Asked by
Sreeram
Top achievements
Rank 1
Answers by
Sreeram
Top achievements
Rank 1
Share this question
or