columns: [{
data: ‘car’
}, {
data: ‘year’,
type: ‘numeric’
},
{
data: ‘percentage’,
type: ‘numeric’,
format: ‘100.00 %’,
language: ‘en’
}],
i tried this format from numeric.js but it is not working, and also i want to limit the value of percentage to 100 or less
Hi @monster_bishal
If you want to limit the value you’d need to use beforeChange
hook to replace a value that is returned by the hook.
It looks like the 0.00%
format is not supported. However, you can do the same using a custom renderer. Here’s an example http://jsfiddle.net/handsoncode/bh7jqjpo/