It seems jqGrid is not assigning any CSS ids to cells by default.
Any tips how to go about开发者_运维问答 it?
I notice I can assign classes per column as per the wiki, but I would like to add CSS ids.
Why jqGrid schould assign an additional CSS class for every cell if jqGrid not use the class? If you need to add a CSS class to some jqGrid cells you can use setCell method.
$("#list").jqGrid('setCell', id, colName, '', "someCssClass");
See modified demo for this old answer as an example.
精彩评论