BeginnerBro
BeginnerBro

Reputation: 195

Kendo Treelist reload/refresh after inline update

I want to update data using kendo-tree-list and all works fine but the updated data doesn't refresh the content to new data.after a manual reloading of the page results in newly updated data into the tree-list and is there any way I can get a popup before deletion when I click delete, as far as now I can't find anything about that

i used

var grid10 = $("#treelist").data("kendoTreeList");
grid10.dataSource.read();
grid10.refresh();

for refreshing but nothing happened

Upvotes: 1

Views: 2993

Answers (1)

Mario Villanueva
Mario Villanueva

Reputation: 415

If i understand, you object name is wrong

Try this:

$("#treelist").data("kendoTreeList").dataSource.read();

Upvotes: 1

Related Questions