ydn-js origin

YUI version 2.5.1

Conditional row coloring

Challenge

Highlight any number of rows based on the value in a column. Preserve coloring across sorting.

Considerations

Solution

Use a custom formatter to cache the records that will need to have their corresponding rows colored, then apply the row coloring in a renderEvent handler.