English 中文(简体)
Dijit Combo Boxfil autocomplete
原标题:Dijit Combobox filter autocomplete
  • 时间:2009-09-25 13:11:31
  •  标签:

I m using dijit combobox for populating a JSON List. Also I m using ItemFileReadStore for getting the JSON data from the server. Once the data is downloaded, when I click on the combobox it shows all the data. But I don t want the user to see all the data. The user should see the list only when he types something. I tried using queryExpr parameter-${0}*. But at that time the list is not populated.Can someone please help me to fix it? Any help will be greatly appreciated

Thanks, Apps

问题回答

The following snippet, Metropolitan from the Dojo ComboBox example working is not “show all the data” with Dojo verion 1.3.0 (17136).

 <input dojoType="dijit.form.ComboBox"
        store="stateStore"
        searchAttr="name"
        name="state2"
        onChange="setVal2" />

我对 com博英特性(autoComplete, hasDown Arrow......)做了比喻,并且 could照描述的行为。 您能否举出一个起码的例子?





相关问题
热门标签