Hi,
I've setup my grid and filled it with data. Now I want to highlight some of these datas whenever a user perform a certain check on the dataset.
After reading several posts (like
this,
that and
this one), I still couldn't achieve my goals.
If I would like to change the font color of a cell, I would assign a hard coded string to the style:color attribute. Or I could change the css by overriding the values in a style section. This, on the other hand, affects all cells.
What I want to achieve is changing border, font and color attributes by adding a css class of my own.
I tried jQuery like $(cell).addClass("myClass"); and $(cell.style).addClass("myClass"); but I doesn't work.
What's the preferred way to do this? The grid is already initialized and the check on the dataset is fired by a button event or whatever.