EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: zolotoy on August 04, 2015, 05:44:18 PM



Title: Filtering datagrid data
Post by: zolotoy on August 04, 2015, 05:44:18 PM
My data is in a form of an object:
data = {total: someArray.length, rows:someArray}

I am filtering data.rows and do get less rows. But I dont know how to refresh the gird. Doing something like this removes everything from the grid, that's all:
$(elem).treegrid('loadData', data);
Not mentioning it hits the server as well.

Please, help.

Thanks