Originally posted by Isomorphic
View Post
Announcement
Collapse
No announcement yet.
X
-
Not sure we’re following the question: is the answer you’re looking for that you simply need to detect whether the current row is the hover row (use getEventRow()) or is selected (use isSelected()) and in those case, not return CSS that changes the BG color?
Leave a comment:
-
How do you change a ListGrid cell's css text when the row is hovered over or selected?
Hi,
Is there any way to change the CSS text of a cell when the user selects a row or hovers over a row? We are overriding getCellCSSText() to change the background colors of cells at the time the grid is drawn. However, when the user hovers over the row, we want these cells to revert back to the default background color. The issue is illustrated below:
We are using SmartClient Version: v11.1p_2018-07-19/PowerEdition Deployment (built 2018-07-19)
Thanks.Tags: None
Leave a comment: