Tavousi
Tavousi

Reputation: 15446

How to load manually data in kendo ui grid

I have a kendo ui grid. I want to load my grid manually. For example when my page loaded, the grid not loading, but when I click a button, data load in grid. How to I can do this? Thanks.

Upvotes: 3

Views: 3758

Answers (1)

JohnnyHK
JohnnyHK

Reputation: 311895

Disable auto-loading from the grid's data source by setting the grid's autoBind property to false and then call read() on the data source when the button is clicked.

Upvotes: 6

Related Questions