EasyUI Forum
September 15, 2025, 03:19:18 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: DataGrid + DataGrid Filter Row: how to get the filter?  (Read 8481 times)
Berzy
Newbie
*
Posts: 7


View Profile Email
« on: July 15, 2014, 01:13:22 AM »

Hi,
I have a DataGrid + DataGrid Filter Row (datagrid-filter.js) and work in c#.

My application successfully do filter the data etc etc. Now the client want an excel export of the FILTERED data... but I don't know how to get the filterrules.

Thank you!

Berzy
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: July 15, 2014, 01:38:11 AM »

The filter rules can be get from the 'filterRules' option.
Code:
var dg = $('#dg');
var rules  = dg.datagrid('options').filterRules;
console.log(rules)
Logged
Berzy
Newbie
*
Posts: 7


View Profile Email
« Reply #2 on: July 15, 2014, 05:57:04 AM »

Many 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!