Hi,
Is it possible with DbForms to display a select box
(drop list) with a different style (like a background color) for some of the
values included in the list ?
For example, if I have a list of 10 users displayed in a drop list (select tag) and I want to use a background color (style) for 3 of the users (users of a particular status, for example)...
<db:select ...>
<db:queryData query="select..." .../>
</db:select>
Could the "queryData" tag generate option tags like the following (with the style attribute) ?
<option style="background-color: #FAEBD7;" value="user #1>"
<option style="" value="user #2>"
The value of the style attribute may be obtained by the value of a particular column in the query.
Thanks !
For example, if I have a list of 10 users displayed in a drop list (select tag) and I want to use a background color (style) for 3 of the users (users of a particular status, for example)...
<db:select ...>
<db:queryData query="select..." .../>
</db:select>
Could the "queryData" tag generate option tags like the following (with the style attribute) ?
<option style="background-color: #FAEBD7;" value="user #1>"
<option style="" value="user #2>"
The value of the style attribute may be obtained by the value of a particular column in the query.
Thanks !
Ho Chanh Tuyet
Le
Direction Solutions Informatiques
Applications
d'affaires
Informatique du corporatif
( : 858-8500 poste 7748
