Home › Forums › Guriddo jqGrid JS › Help › unformat – getting the original value
Hi All,
I created a formatter function for a rich text field that strip the html tags and leave only the text:
editorFormatter : function(cellvalue, options, rowobject) {
Hello,
To the unformat function we pass the text – i.e we pass this –
Hi Tony,
I understand what is passed to the unformat function.
My question is how do we get the original value that was formatted with the format function?
For example:
My cellvalue holds text like: '
hello Tony
'
I format it to show the text only: 'hello Tony'
and I wonder if I can refer to the original cellvalue from the unformat function?
Hope I am clear.
Thanks for your work and support
Shuki
http://stackoverflow.com/questions/1775524/how-to-get-a-jqgrid-cell-value/7209681#7209681
http://wojciech.oxos.pl/post/9423083837/fetching-original-record-values-in-jqgrid
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS