I have inside my jgrid a column which is of type float , I want to mask the column cells when ever the user enters the cell. for exmple , the mask should be 99999.99 (when 9 = any number between 0-9). i want max 5 digits to the left of the point and max of 2 digits to the right of the point - and that it will be posible to enter less then the max.
How can I mask this column to be a decimal number?
Thank's In Advance.
something like
formatter: 'number', formatoptions: { decimalPlaces: 2 }
this is from the wiki docs or if those predefined ones don't work you can create a custom formatter
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With