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

How to rebind Grid through javascript?

1 Answer 220 Views
Grid
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 19 Oct 2011, 01:56 AM
When datasource changed, I want to rebind Grid through javascript.

How can I do it?

1 Answer, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 19 Oct 2011, 01:07 PM
Hi John,

Generally speaking grid widget is attached to the dataSource's change event, therefore changes to the DataSource state made through the appropriate API, should caused grid  to be automatically 
 recreated. You may also call grid's refresh method in order to force its re-population.

Regards,
Rosen
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
John
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Share this question
or