Add: _style="width: 300px;" to SELECT helper

SELECT(_type="select", _name="field_name", _style="width: 300px;" ...

2011/3/25 Auden RovelleQuartz <[email protected]>

> the following code snippet:
>
> {
>       form=FORM(TABLE(TR("some field label",SELECT(_type="select",
> _name="field_name", \
>                                                        *[OPTION("$" +
> str(cost) + " " + x.item)\
>                                                          for x in
> db().select(db.item_list.ALL, orderby = db.item_list.max_cost)])),
> }
>
>
>
> would render a dropdown box
>
> what is the syntax to set the width of that drop down box?




-- 
Pablo Martín Mulone ([email protected])
http://www.tecnodoc.com.ar/

My blog: http://martin.tecnodoc.com.ar
Expert4Solution Profile:
http://www.experts4solutions.com/e4s/default/expert/6

Reply via email to