Versions Compared

Key

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

...

For more informations about listeners see 'view listeners section'

Anchor
rowStyleResolvers
rowStyleResolvers

6.3. row style resolvers

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

...

Where:

  • className - class (package path + name) which contains resolver method
  • beanMethod - name of resolver method that should be executed for each of row entity

For more informations about row style resolvers see 'row style resolvers section'.

6.4. criteria modifiers

Criteria modifiers allow you to modify state of SearchCriteriaBuilder using to fetch component's rows. You can use them to filter out some data for example all entities owned by user other than currently logged in.

Info

Currently row style resolvers can be used only with grid or lookup component.

Every modifier has structure:

Code Block
themeEclipse
languagexml
linenumberstrue
<criteriaModifier class="className" method="beanMethod" />

Where:

  • className - class (package path + name) which contains resolver method
  • beanMethod - name of method

For more informations about criteria modifier see 'criteria modifier section'.