Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Grid's row style resolvers returns set of CSS clas names for given row entity. You can use them to mark specified grid rows, e.g. whith negative balance of some arbitrary values.
Resolver method is invoked for each of row entitiesgrid's entity.

Code Block
themeEclipse
languagejava
linenumberstrue
public Set<String> gridRowStyleResolverName(final Entity rowEntity) {

        // GRID ROW STYLE RESOLVER BODY

}

...

To attach created resolver method to grid or lookup component see 'grid row style resolvers' section.

3. Example

3.1 Custom validator example

...