EasyUI Forum
May 16, 2024, 03:59:49 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Filtering datagrid data  (Read 4606 times)
zolotoy
Jr. Member
**
Posts: 89


View Profile Email
« 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
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!