I's using SlickGrid, and want to add a css class to cells. But my column name includes a white space. Assuming the column name is 'Effort Driven', how can I refer this column?
grid.setCellCssStyles("key_highlight", {
3: {
finish: 'highlight', /* works fine */
'effort driven': 'highlight' /*does NOT work*/
}
});
Thanks.
If you are referencing it with bracket notation it should work,check out this page
have you tried accessing it like
key_highlight[3]['effort driven']
I'm still a little curious why you have a space in the key of a key value pair