Forum Discussion

FICO's avatar
FICO
Community Manager
17 years ago

Using Display Table with Template List

Using Display Table with Template List

Is there a way to show within a display table the "display format" of any one of the templates selected from a template list by the user?

Also, are we able to change row colors for alternate rows within the display table so that it is clearer to the user?

2 Replies

  • FICO's avatar
    FICO
    Community Manager

    As far as I know, the Display Table can't display structured values (i.e. value holders that refer to templates), only valued ("primitive" ) values. You would have to generate a text yourself, for example by inspecting the display version and outputting it as a single string. 

    For alternate colors, there are probably two options: First, you can register your own CSS file. I don't know how far they have gotten with the selectors and stuff there, e.g. "even" and "odd", but it might be worth a try. There's also the generation of the table itself, which is done by a template that can be modified. See  <advisor home>/lib/templates/iwag.

    HTH, 

    Jostein