Rendering of multi-selection list
Hi everyone, I'm using the following xml syntax to populate a multi-selection list in our Galaxy Server: <param name="genes" type="select" label="Some list" multiple="true"> <options from_file="some_list.txt"> <column name="value" index="0" /> <column name="name" index="0" /> </options> </param> Depending on the number of entries in the file some_list.txt the list is rendered differently: * with less than 20 entries I get a list displaying all items * with more than 20 entries the list is rendered as a drop-down list * with a lot more (I don't know the exact cutoff, but like 1000+) I get the same rendering as with less than 20 entries I would like galaxy to render the list as a drop-down list independent of the number of entries. Is there a way to do this? Regards, Michael -- Michael Römer, MSc. Bioinf. Abteilung Kognitive Systeme Fachbereich Informatik Wilhelm-Schickard-Institut Sand 1, Raum A312 72076 Tübingen Tel.: +497071/2978970 E-Mail: michael.roemer@uni-tuebingen.de
There is a patch in this e-mail thread to disable this behavior for all tools: http://dev.list.galaxyproject.org/HTML-form-of-select-parameter-tt4663142.ht... Hope this helps, -John On Mon, Feb 24, 2014 at 9:20 AM, Michael Römer <michael.roemer@uni-tuebingen.de> wrote:
Hi everyone,
I'm using the following xml syntax to populate a multi-selection list in our Galaxy Server:
<param name="genes" type="select" label="Some list" multiple="true"> <options from_file="some_list.txt"> <column name="value" index="0" /> <column name="name" index="0" /> </options> </param>
Depending on the number of entries in the file some_list.txt the list is rendered differently:
* with less than 20 entries I get a list displaying all items * with more than 20 entries the list is rendered as a drop-down list * with a lot more (I don't know the exact cutoff, but like 1000+) I get the same rendering as with less than 20 entries
I would like galaxy to render the list as a drop-down list independent of the number of entries. Is there a way to do this?
Regards, Michael
-- Michael Römer, MSc. Bioinf. Abteilung Kognitive Systeme Fachbereich Informatik Wilhelm-Schickard-Institut Sand 1, Raum A312 72076 Tübingen Tel.: +497071/2978970 E-Mail: michael.roemer@uni-tuebingen.de
___________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at: http://lists.bx.psu.edu/
To search Galaxy mailing lists use the unified search at: http://galaxyproject.org/search/mailinglists/
Hi John, Thanks, this does indeed change the behaviour to be consistent. However, this is exactly the reverse of what I would like to do. I would actually like to replace all select boxes by the jQuery-based widget. Particularly for large lists I find the select2 to be much more user-friendly. Is there a way to achieve this? Regards, Michael On 02/24/2014 04:24 PM, John Chilton wrote:
There is a patch in this e-mail thread to disable this behavior for all tools:
http://dev.list.galaxyproject.org/HTML-form-of-select-parameter-tt4663142.ht...
Hope this helps,
-John
On Mon, Feb 24, 2014 at 9:20 AM, Michael Römer <michael.roemer@uni-tuebingen.de> wrote:
Hi everyone,
I'm using the following xml syntax to populate a multi-selection list in our Galaxy Server:
<param name="genes" type="select" label="Some list" multiple="true"> <options from_file="some_list.txt"> <column name="value" index="0" /> <column name="name" index="0" /> </options> </param>
Depending on the number of entries in the file some_list.txt the list is rendered differently:
* with less than 20 entries I get a list displaying all items * with more than 20 entries the list is rendered as a drop-down list * with a lot more (I don't know the exact cutoff, but like 1000+) I get the same rendering as with less than 20 entries
I would like galaxy to render the list as a drop-down list independent of the number of entries. Is there a way to do this?
Regards, Michael
-- Michael Römer, MSc. Bioinf. Abteilung Kognitive Systeme Fachbereich Informatik Wilhelm-Schickard-Institut Sand 1, Raum A312 72076 Tübingen Tel.: +497071/2978970 E-Mail: michael.roemer@uni-tuebingen.de
___________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at: http://lists.bx.psu.edu/
To search Galaxy mailing lists use the unified search at: http://galaxyproject.org/search/mailinglists/
-- Michael Römer, MSc. Bioinf. Abteilung Kognitive Systeme Fachbereich Informatik Wilhelm-Schickard-Institut Sand 1, Raum A312 72076 Tübingen Tel.: +497071/2978970 E-Mail: michael.roemer@uni-tuebingen.de
participants (2)
-
John Chilton
-
Michael Römer