Search code examples
jqgrid

how to highlight only cell when click on jqgrid grid


I have jqgrid in which cells are created by java as a hyperlink, attached the image for the same.enter image description here

I want to highlight that particulate cell when i click on any count on that jqgrid. Please refer image for the same.


Solution

  • jqGrid supports cell editing, which can be activated by adding the option cellEdit: true. It's important that it allows to edit content of not every columns, but the columns, which have editable: true property. If the column don't have editable: true property the the cell will be highlighted. Thus if you don'u use currently editing feature in the grid and you don't have editable: true property in any columns of colModel then adding cellEdit: true option of jqGrid should solve your problem.