[Dojo-interest] ComboBox does not autocomplete when a dojo build is used.

Roger (Bordeaux) roger.bordeaux at ifrance.com
Mon Feb 5 06:17:38 MST 2007


Thanks Thomas,

That's exactly what I needed.

Best regards

Roger

Thomas Wolf a écrit , Le 02/02/2007 23:34:
> Roger (Bordeaux) wrote:
>> Hello,
>>
>> I dynamically populate a ComboBox.
>>
>> This combo does autocomplete when I run from the normal dojo sources, 
>> but doesn't if I run from my own dojo build.
>>
>> Secundly why the combo does not displays all the populated values ? 
>> (only the first 20 or 30)
>
> There is a property "searchLimit" defined in the
> basicComboBoxDataProvider, defaulting to 30.
> According to a comment in the source, it
> seems you can't set this via markup currently,
> I think you either have to change this in
> src/widget/Combobox.js or set it by script:
>
> var combo=dojo.widget.getWidgetById("c1");
> combo.dataProvider.searchLimit=0;
>
> (0 means 'unlimited')
>
> HTH
> Thomas
>
> _______________________________________________
> Dojo FAQ: http://dojo.jot.com/FAQ
> Dojo Book: http://manual.dojotoolkit.org/DojoDotBook
> Dojo-interest at dojotoolkit.org
> http://dojotoolkit.org/mailman/listinfo/dojo-interest
>



More information about the Dojo-interest mailing list