pranjal-goswami / multifact-pivottable

A JavaScript plugin for PivotTable.js. It renders multiple aggregations simultaneously with added configurations for rendering beautiful tables http://pranjalgoswami.in/multifact-pivottable/examples/index.html
MIT License
18 stars 13 forks source link

formatterOptions in aggMap doesn't work #9

Open mada-git opened 3 years ago

mada-git commented 3 years ago
 var aggMap = {
      'agg1': {
          aggType: 'Sum',
          arguments: ['Value'],
          name: 'Money spent',
          varName :'a',
          renderEnhancement : 'heatmap',
          formatterOptions : {
                 digitsAfterDecimal: 0
          }
    },
...
}

number format isn't displayin correctly, any idea why? Or formatterOptions isn't supposed to be used in the aggMap aggregator? Thanks - mg

BBBhatt commented 3 years ago

https://github.com/pranjal-goswami/multifact-pivottable/issues/9#issue-752113549

do you find any solution for this???