EasyUI Forum
November 04, 2025, 04:02:00 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Custom Filter for Datagrid  (Read 8170 times)
doev
Newbie
*
Posts: 22


View Profile
« on: December 09, 2013, 06:13:30 AM »

I need to filter a datagrid (fetches data from a remote server) in a complex way, wich means that the filter depends on some other elements from outside the datagrid. For example, on the selected rows of a second datagrid. What I need is a function, that is called when the datagrids reload is triggert, where I can pass the needed data to the request.

How can I start with this. Thx.
Logged
doev
Newbie
*
Posts: 22


View Profile
« Reply #1 on: December 09, 2013, 06:31:04 AM »

Solution:

$('#dg').datagrid('load', {
        data1: data1,
        data2: data2,
        data3: data3,
    });


How can I trigger it, always when a second datagrids selection changes?
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!