...
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 | ||||||
---|---|---|---|---|---|---|
| ||||||
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
...