EasyUI Forum
April 18, 2024, 05:38:58 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: pivotgrid filter row  (Read 6302 times)
unsui
Newbie
*
Posts: 2


View Profile
« on: February 26, 2017, 08:01:42 AM »

How can I add Filter rows to pivotgrid? Like Datagrid.
Logged
jarry
Administrator
Hero Member
*****
Posts: 2262


View Profile Email
« Reply #1 on: February 26, 2017, 05:00:30 PM »

The pivotgrid has the built-in filter functionality. Please set the 'filters' property or call the 'layout' method to modify it.
Code:
pivot:{
rows:['Country','Category'],
columns:['Color'],
filters:['Destination'],
values:[
{field:'Price',op:'sum'},
{field:'Discount',op:'sum'}
]
},
Logged
unsui
Newbie
*
Posts: 2


View Profile
« Reply #2 on: March 01, 2017, 06:41:23 PM »

thank you for your answer. But, I want the following Filter row.(DataGrid Filter Row)
https://www.jeasyui.com/demo/main/index.php?plugin=DataGrid&theme=default&dir=ltr&pitem=#


Isn't a Filter like the attached image.

Is't possible to realize Fiter row like DataGrid with PivotGrid?
« Last Edit: March 01, 2017, 06:43:46 PM by unsui » Logged
jarry
Administrator
Hero Member
*****
Posts: 2262


View Profile Email
« Reply #3 on: March 02, 2017, 01:01:36 AM »

No, the pivotgrid has its own filtering behavior. It isn't a good idea to display all the filtering box on all the columns.
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!