ParamQuery grid support forum
General Category => Help for ParamQuery Grid (free version) => Topic started by: kavyasetty on November 28, 2013, 01:03:17 pm
-
how can we highlight a particular cell with a different color border or background knowing the row Index and column index of a cell???
for example , i have a cell with invalid data i need to highlight that cell with red color.
is this possible ? how can i do this.
-
get the cell with API getEditCell or getCell method
http://paramquery.com/api#method-getEditCell
http://paramquery.com/api#method-getCell
and apply css or class using jQuery.
-
can you please provide me an example for this. I used getcell method and tried applying the css using .css() and even tried addClass methode of jquery and it is not working. please provide me a small example of doing this
-
the problem i am facing is if there are 10 cells which has error and in a for loop i want to apply css , for every iteration the grid is newly created . and css applies to new cell and disappear for next iteration. even the css effect is disappearing after using scroll.. :(
-
Put that code in refresh event.
http://paramquery.com/api#event-refresh
-
thanks :)
worked