EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
September 15, 2025, 03:19:18 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
DataGrid + DataGrid Filter Row: how to get the filter?
Pages: [
1
]
« previous
next »
Print
Author
Topic: DataGrid + DataGrid Filter Row: how to get the filter? (Read 8481 times)
Berzy
Newbie
Posts: 7
DataGrid + DataGrid Filter Row: how to get the filter?
«
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
Re: DataGrid + DataGrid Filter Row: how to get the filter?
«
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
Re: DataGrid + DataGrid Filter Row: how to get the filter?
«
Reply #2 on:
July 15, 2014, 05:57:04 AM »
Many thanks!
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...