I am using the jqGrid with inline editing option. I want to show an edit icon if the cell does not have any values.
So I write a formatter:
function aFormatter(cellvalue, options, row) {
if(cellvalue == null){
return 'you can edit this';
}else{
return cellvalue;
}
}
The you can edit this
text is displayed, when I click on it an input box is displayed correctly, however the input box as the initial value you can edit this
?
How can I fix it?
I am using the jqGrid through struts 2 jquery tags plugin
, which is build on jqGrid version
$.fn.fmatter is undefined
. Can you please let me know how to fix it ?! – Siusan