Access data returned from server
Posted
by Vinodh Ramasubramanian
on Stack Overflow
See other posts from Stack Overflow
or by Vinodh Ramasubramanian
Published on 2010-03-25T12:50:21Z
Indexed on
2010/03/25
12:53 UTC
Read the original article
Hit count: 384
I am looking to access the actual value returned from the server.getRowData
returns the value after unformat applied to the value. This results in loss of information.
For instance, if a double value is rounded to two decimal places and if I want to populate the form for edit with the original value returned from the server with 6 decimals, how can I get the value returned.
for eg:
Value returned from server : 12.345678
formatter option for column : formatter: 'number', formatoptions: {thousandsSeparator: ",", decimalPlaces: 2}
Value displayed in grid : 12.35
How do I retrieve the value 12.345678 returned from the server. getRowData
returns 12.35
© Stack Overflow or respective owner