EasyUI Forum
June 26, 2024, 12:48:34 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: How to perform different operations on the same column in the pivotgrid?  (Read 2425 times)
officecode
Jr. Member
**
Posts: 69


View Profile Email
« on: January 23, 2019, 08:00:42 AM »

For example, I want to perform both max and min operations on the price column, but the results are all max.

Code:

pivot:{
rows: ...,
columns: ...,
values:[
{field:'price',title:'price_max',op:'max'},
{field:'price',title:'price_min',op:'min'}
],
},


Also, how can I get the forzenColumn column in the pivotgrid? I want to modify the width of it.
Thank you.
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: January 23, 2019, 11:31:32 PM »

You can't do that. The field in the columns must be unique.
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!