|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Hiliting
A Hilite definition contains styling information such as cssText and htmlBefore
that define what the hilite looks like, as well as properties defining where the hilite is applied. If you create
hilites manually, they should ideally specify textColor and/or
backgroundColor in order to be editable in a HiliteEditor.
If these are not provided, however, note that they will be manufactured automatically from the cssText attribute if it is present.
A hilite can be applied to data
either by defining criteria or by explicitly including
markers on the data itself.
Hiliting rules such as hiliting different ranges of values with different colors can
be accomplished entirely client-side by defining AdvancedCriteria in hilite definitions
that pick out values to be highlighted.
Hiliting rules that require server-side calculations can be achieved by
assigning a id to a hilite definition, and setting the hiliteProperty on the records that should show that
highlight. This can be used, for example, to hilite the record with the maximum value for a dataset that the application
will load incrementally.
CubeGrid.hiliteCell(int, int, java.lang.String),
com.smartgwt.client.widgets.cube.CubeGrid#hiliteCellList,
CubeGrid.hiliteFacetValue(java.lang.String, java.lang.String, java.lang.String)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||