Versions Compared

Key

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

...

To attach created view listener method to view xml file see 'view listeners' section.

Anchor
viewListenersrowStyleResolversviewListeners
rowStyleResolvers

2.5. Row style

...

resolvers

(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 grid's row entity.

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

        // GRID ROW STYLE RESOLVER BODY

}

...