Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Highlighting a row when any field is edited

    Version : smartclient v9.0p_2013-11-03
    Browsers : All

    Hi we have a list grid that can be edited. We would like to highlight the row once any field has been edited.

    In the getCellCSSText we are using the rowHasChanges(rowNum) to identify any changes and returning back the apropriate CSS string.

    But the issue with this the row is not immediately highlighted. Once we hover on the row that was edited, then we see the CSS applied on that row.

    Is there any way we can have the change detected right away and highlight the row ?

    #2
    You can call listGrid.refreshRow(rowNum); to force a row to refresh to (for example) update its styling.

    Comment

    Working...
    X