I've been experimenting with adding a custom cellattr
function to my colmodel
JSON response, but I'm having trouble getting it to work. I've tried applying classes and styles without success, so now I'm attempting to debug by logging something out.
Below is an excerpt from the JSON I received:
{
"name":"15/09/2012",
"index":"Sep 2012",
"align":"center",
"width":30,
"frozen":false,
"sortable":false,
"cellattr":"function (rowId, tv, rawObject, cm, rdata) { console.log('test'); }
}
If anyone has encountered this issue before and can offer guidance on how to make it work, I would greatly appreciate it!