Opened 12 years ago
Closed 11 years ago
#9660 closed defect (worksforme)
QueryReadStore - Problems with data when implementing an autocomplete
Reported by: | miguelgatt | Owned by: | wolfram |
---|---|---|---|
Priority: | high | Milestone: | tbd |
Component: | DojoX Data | Version: | 1.3.2 |
Keywords: | QueryReadStore error | Cc: | |
Blocked By: | Blocking: |
Description
I have been developing some autocompletes, my spec stated I need to use the QueryReadStore? as the data store, I was doing this. I used it as the store for my FilteringSelect?. I noticed that what ever item I choose from my selection, it always goes back to the first item in the list, for example, if I have a countries data store and I choose 'California' it goes back to 'Alabama' instantly. To fix this I had to use ItemFileReadStore? which is very good but can't handle the amount of data that the QueryReadStore? can. So if this is fixed I think me and other users like myself can use QueryReadStore? in there autocomplete boxes without any problems. Thanks
Change History (3)
comment:1 Changed 12 years ago by
Owner: | changed from Jared Jurkiewicz to wolfram |
---|
comment:2 Changed 12 years ago by
comment:3 Changed 11 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
No replies in this defect requesting a testcase and current testcases show it functional, therefore closing.
Do you have a testcase that demonstrates this? Are you sure the data you're responding with is correct for QueryReadStore?? In other words, do you have unque identifiers for all items? FilteringSelect? selects by ID, not by label. If your identifiers are not unique, then it's going to mis-select.
http://docs.dojocampus.org/dojox/data/QueryReadStore#connecting-queryreadstore-to-dijit-form-filteringselect
Shows it working.