I am using SlickGrid and am wondering if there is a way to set and keep a rows opacity or css styles in general.

For example my rows have a checkbox in them and when the user sets the checkbox to checked then the opacity of the row is set. However when the user then clicks off the row the SlickGrid removes the opacity setting.

One option if anyone knows how to do it is to set the opacity of the row after SlickGrid has done its re-render. this would allow me to use the jQuery below across the entire grid:

2 Answers
2

Just in case anyone else is trying to do something similar, I added a post render event by doing the following:
Added a new method to the API section of SlickGrid and then subscribed to that method and implemented the jQuery to updated the opacity. I then triggered the method inside the render() method of SlickGrid.

Great solution! Can you send it to SlickGrid authors? I think is necesary include in all releases.
–
Alberto LeónJul 21 '11 at 11:55

@Dave Do you know, if this has been implemented in "standard" SlickGrid? From looking at the current source i can't spot anything obvious for post render. Did you contact Tin?
–
sniesApr 5 '12 at 12:32

@Dave Also do you know, how your patch behaves for async rendering?
–
sniesApr 5 '12 at 12:33