Click here to Skip to main content
15,886,857 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I'm binding Telerik grid with ajax function. After the update i want to show the new datas in the grid. i.e to refresh the grid using JQuery.
Any have any idea.

Thanks in advance.
Posted

1 solution

After the Add, Update or Delete, do something like this:
JavaScript
var ds = $("#yourGrid").data("kendoGrid").dataSource;
ds.read();

This will do.

-KR
 
Share this answer
 
Comments
SamRST 5-Oct-15 2:47am    
i tried that. Sometimes it will work but sometimes won't.
Now i use the below code

var grid = $("#GridFilelist").data("tGrid");
grid.ajaxRequest();

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900