The
graphicRepresentation
attribute of predefined business objects can be configured with
the
useDefaultCellRenderer
CSS property so that predefined business objects are rendered as
static images in the table component. This technique will improve
performance as static images are faster to render than the
alarm-colored tiny representation of predefined objects.
The following CSS example configures all
ilog.tgo.model.IltObject
business objects to be represented by the image
myImage.png
:
object."ilog.tgo.model.IltObject/graphicRepresentation" {
useDefaultCellRenderer: true;
icon: '@|image("resource/myImage.png")';
iconVisible: true;
}