Open karelv opened 6 years ago
Same as my previous issue I created, I created also a solution for this one... The result is this:
However here I had to tweak a bit more in the pivot.js file. https://github.com/karelv/pivottable/blob/master/dist/pivot.js
And the example from the above screenshot: https://github.com/karelv/pivottable/blob/master/examples/mps_category_table_alter_key_order.html
From last issue I know that you want coffee script, but is there a way I can add this kind of function without touching the original pivot.js?
I'm sorry, I don't understand the question I can help answer here...
I would like to sort the row-keys based on the average values of one field of the records matching that row. Same goes for the col-keys.