带水平滑块的Dojo筛选存储

带水平滑块的Dojo筛选存储,dojo,Dojo,我通过添加一个针对产品价格的水平滑块,将Dylan的商店参考扩展到具有查询功能的 来源@ 发现很难对未引用文件存储和网格的存储实现滑块查询 滑块的部分代码 var slider = new dijit.form.HorizontalSlider({ name: "slider", value: 0, minimum: 0, count:50, maximum: 1100

我通过添加一个针对产品价格的水平滑块,将Dylan的商店参考扩展到具有查询功能的

来源@

发现很难对未引用文件存储和网格的存储实现滑块查询

滑块的部分代码

    var slider = new dijit.form.HorizontalSlider({
            name: "slider",
            value: 0,
            minimum: 0,
            count:50,
            maximum: 1100,
            showButtons: true,
            discreteValues:1,
            intermediateChanges: true,
            style: "width:300px;",
            onChange: function(value){

                  console.log("Slider logged" + value);                
                  formattedVal =formatter.format(value, {places:0})  ;

                  console.log("Total " + data.mobile1CatalogData.length);
                  console.log("Formatted Value " + formattedVal);

                  mobile1Store.fetch( { query: {'price': formattedVal },  
                        onItem: function(item) {
                            console.log( mobile1Store.getValue( item, 'description' ) );
                        },
                        onComplete:function(items, request) {
                            console.log(" on Complete" +items.length );
                            mobile1Catalog = util.buildCatalog("mobile1CatalogNode", items, true);
                        },
                        onError: function(e){
                            console.log("Some Issue" + e);
                        }
                });

    });
任何关于这方面的建议,高度赞赏

谢谢