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

[Solved] Rebind MasterTableView after DetailTables collapsed

1 Answer 122 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mladen
Top achievements
Rank 1
Mladen asked on 17 Sep 2009, 11:51 AM
Hi,

is there a way to rebind MasterTableView after DetailTables collapsed?
This should be done after client OnCommand event fires.

Thanks in advance. 

1 Answer, 1 is accepted

Sort by
0
Schlurk
Top achievements
Rank 2
answered on 18 Sep 2009, 05:08 PM
To rebind your MasterTableView through client-side you can use:
var masterTable = $find("<%= RadGrid1.ClientID %>").get_masterTableView(); 
masterTable.rebind();

This should be do-able no matter what state the DetailTables are in. To see which event you should do this in you could check out the Event Sequence documentation article.
Tags
Grid
Asked by
Mladen
Top achievements
Rank 1
Answers by
Schlurk
Top achievements
Rank 2
Share this question
or