Login Register

How to query a dojo.data Store for items within a number range

Hello,

I have been experimenting with the dojo.data.ItemFileReadStore and find this very promising. Specialy the way to query items that match a certain string like "Fo*" is great. But I fear the most obvious is missing, isnt it?

Can I query for items that are within a certain number (int or float) range? Like I would sql "select * from countries where population < 300".

Is that possible somehow? Perhaps by sorting and then cutting off after the value get smaller?

Please suggest what you would find a good practice,
thank you for your help

dT

Would this help? There have

Would this help?

There have also been some forum posts/comments about implementation of the above that could be helpful.