Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    StaticTextItem images

    Hi all,

    StaticTextItem has a title, a value, and a icon on the right, ok?

    Is it possiple to show an image instead of the value and still keep another image as the icon on the right?

    I would like to display small circles (grey, green, yellow, red) as a status for an asynchronous process that gives me the following values: 0, 1, 2, 3 respectively to the colors. I would like to keep the icon on the right, which I would use for trigger the report generation by the user click.

    Any idea?

    Thank you so much!!

    Vitor Eduardo

    #2
    The FormItem.value of a StaticTextItem is allowed to be HTML, so you could use an tag, possible rendered by Canvas.imgHTML().

    Alternatively, look at FormItem.valueIcons and showValueIconOnly.

    Comment

    Working...
    X