Hello,
I've a combobox wired on a QueryReadStore, I've adapted the example at http://archive.dojotoolkit.org/nightly/checkout/dojox/data/tests/QueryRe... to implement my server side store.
My problem is when there is exactly the same total number of elements in the store that the number specified in combobox tag pageSize attribute.
Ex. :
10 elements in the store and combo defined like this :
In this case, the combobox display the next button but there is no results on the second page.
(because 10 elts are requested by page and there is only 10 elements in the remote store)
What surprise me the most is the way the combobox widget is implemented :
dijit.form._ComboBoxMenu->createOptions()
...
this.nextButton.style.display=dataObject.count==results.length?"":"none";
If I understand correctly, this means that next button is visible when number of elements requested is equal to number of items returned.
But this condition doesn't necessary means that there is more elements !
I've tried to use "numRows" attribute in the JSON response but it doesn't seems to be used by Dojo.
Does any one knows how the server side store must specify the total number of elements elements matching with the request made by the QueryReadStore ?
OK, there is many questions in my post, but can someone help me ?
Ektor.
