Home › Forums › Guriddo jqGrid JS › Help › 3.5 – Multiple Formats
Hi,
Is it possible to assign more than one format to a cell?
I have a cell, that i need the following formatting on:
Hello,
Write your own custom formater function
var myformatter = function(cellval, opt, data) {
if( some condition) return value_1
else if (other condition) return value_2
else return value3
}
Tony said: Hello, Write your own custom formater function var myformatter = function(cellval, opt, data) { if( some condition) return value_1 else if (other condition) return value_2 else return value3 }
Tony said:
Hello Tony,
Where should I place the function, inside the “jQuery(”#xxx”).jqGrid” ?
Thank you
Dominique
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS