Hello Giovanni,
Maybe you could try to use selectionmode: 'singlecell',
(instead of “editmode: ‘click’,”) because otherwise start to edit the cell and this will enter to ‘cellsrenderer’ callback.
We recommend using our widgets and API to achieve this.
I would like to give some hints.
You could use simple boolean type column and bind to ‘cellclick’ event (or ‘rowclick’).
After clicking, checks the current value and set opposite to this cell – for this could use setcellvalue
method of the Grid.
About custom view of the cells I would like to suggest you look at this demo (mention about to focus on ‘cellclassname’).
Best Regards,
Hristo Hristov
jQWidgets team
http://www.jqwidgets.com