Opened 14 years ago

Last modified 10 years ago

#5970 closed defect

dojox.data.QueryReadStore - an option to make synchronized xhr calls — at Initial Version

Reported by: guest Owned by: Jared Jurkiewicz
Priority: high Milestone: 1.1
Component: Dijit - Form Version: 1.0
Keywords: Cc:
Blocked By: Blocking:

Description

there is an example for using it with FilteringSelect? here: http://www.dojotoolkit.org/book/book-dojo/part-3-javascript-programming-dojo-and-dijit/using-dojo-data/available-stores/dojox-d

as a result of each server request the text in the FilteringSelect? is being replaced, and if the user types too fast (actually while the server request is on the go), it messes up the text in the FilteringSelect?. i guess the solution is to make the xhr calls synchronized.

The xhr-Request in the QueryReadStore? is done with:

var xhrHandler = xhrFunc({url:this.url, handleAs:"json-comment-optional", content:serverQuery});

we need this xhr-Request object as a parameter, so we can define sync:true in it. and more flexability might be achevied by defining onther xhr-Request parameters.

Change History (0)

Note: See TracTickets for help on using tickets.