Is there any way to set the sequence of the column of pivot in pivottable.js?
问题 I want to create the pivot table in my website. So I've used the pivottable.js for creating the pivot table. I'm able to create the pivot table using the following JS, but not able to set the sequence of the column. following code is used to generate the pivot table. $(document).ready(function(){ var sum = $.pivotUtilities.aggregatorTemplates.sum; var numberFormat = $.pivotUtilities.numberFormat; var intFormat = numberFormat({digitsAfterDecimal: 0}); $("#raw_data_op").pivot( [ ["id","mycount"