Re: [web2py] list:reference field number of entries

2014-04-24 Thread Richard Vézina
This one is old don't know if still work : http://www.web2pyslices.com/slice/show/1395/jquery-multi-select-widget This is another option : http://dev.s-cubism.com/plugin_multiselect_widget Here another with bootstrap : http://davidstutz.github.io/bootstrap-multiselect/ You have to work your

[web2py] list:reference field number of entries

2014-04-23 Thread BlueShadow
Hi, I got a list:reference field where there are very many entries to choose from and the default field shows only 5 entries is there a way to increase that number or get a better field to select multiple entries? thanks for your help -- Resources: - http://web2py.com - http://web2py.com/book

Re: [web2py] list:reference field number of entries

2014-04-23 Thread Richard Vézina
Use a jquery multiselect plugin... Or set a size to the select : select size=10 multiple With _size='10' maybe... Richard On Wed, Apr 23, 2014 at 3:18 PM, BlueShadow kevin.bet...@gmail.com wrote: Hi, I got a list:reference field where there are very many entries to choose from and the

Re: [web2py] list:reference field number of entries

2014-04-23 Thread Niphlod
this should work db.table.field.widget = lambda field,value: SQLFORM.widgets.multiple.widget(field,value,size=10) -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report

Re: [web2py] list:reference field number of entries

2014-04-23 Thread BlueShadow
Thanks Niphlod yours works. Richard can you tell me how one can implement the jquery multiple select plugin. I tried a fancy one some time ago which had two windows one showing the selected and one showing the unselected. but I could never get it to work. -- Resources: - http://web2py.com -