Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
585
displayFactor and minDecimals from PercentEditor do not take effect
posted

I have a "number" column that has the following columnSettings:

- editorType: 'percent'

- editorOption: {displayFactor: 100, minDecimals: 4}

With the above settings, raw data from database (e.g. 12) was not formatted to 12.0000% as expected and 12 was shown on the UI instead.

Then I added column.format as 'percent' and the value was displayed as 0.12%.

So the PercentEditor options seems not taking any effect.  I have attached the sample to show the problem.  Please help on the expected display value.

Thanks!

IgPercentEditor.zip