We have updated Flexmonster Software License Agreement, effective as of September 30, 2024. Learn more about what’s changed.

Lock a column value to only allow "average"

Answered
David Chen asked on April 26, 2016

How to I do this?
Whenever someone drag this # column value, it only shows average, and it disable all others (sum,count, etc...)
jsfiddle please

2 answers

Public
Ian Sadovy Ian Sadovy Flexmonster April 26, 2016

Hello David,
 
Please use measure's "availableAggregations" property for this.
JSFiddle - https://jsfiddle.net/iansadovy/ojgt5z3e/ (see lines 14-21).
 
Regards,
Ian

Public
Tanya Gryshko Tanya Gryshko Flexmonster December 7, 2016

Hello David and all Flexmonster users,
Check the updated sample for version 2.3: https://jsfiddle.net/flexmonster/tp80euuq/.
Regards, Tanya

Please login or Register to Submit Answer