I had this problem with jqGrid version 3.8.2.
Versions 3.7.1 and 4.1.2 work fine for me.
I created ticked http://github.com/tonytomov/jqGrid/issues/issue/34 for this request.
Thank you.
tony said: Hello, Basically you are in the right direction. In the optins parameter you have the id of the row. So it can be something like function highlight (cellvalue, options, rowObject) { … if(cellValueInt < 600) $(”#”+options.rowId).addClass(”redclass”) else $(”#”+options.rowId).addClass(”blueclass”) … return cellvalue } Regards Tony
tony said:
Hello,
Basically you are in the right direction.
In the optins parameter you have the id of the row. So it can be something like
function highlight (cellvalue, options, rowObject)
{
…
if(cellValueInt < 600) $(”#”+options.rowId).addClass(”redclass”)
else $(”#”+options.rowId).addClass(”blueclass”)
return cellvalue
}
Regards
Tony
My experience is that this
Is there a list of “core” methods which are not callable with new API ?
I found all of them listed here http://www.trirand.com/jqgridwiki/doku.php?id=wiki:methods and found out that trigger doesn't work with new API. Maybe trigger should be written with green color as updateColumns for example.
It seams inconsistent to me, but maybe there is reason do make difference.
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS