我需要重新分页工具栏参数"page","start","limit"当我点击搜索按钮,重新加载网格存储与不同的参数应用!
我该怎么做?
问题是,当我在接下来的页面上,我做了新的搜索,我有参数page=2,start=25,limit=25 dirty,相反,我需要重置此参数应用.
我的代码:
listeners: {
click: function(){
Ext.getCmp('GrlGio').getStore().removeAll();
Ext.getCmp('GrlGio').store.load({
params:{
mode: "RIC",
DataRicerca: dd,
Pit: Ext.getCmp('cmbPiattaforma').getValue()
}
});
}
}
Run Code Online (Sandbox Code Playgroud)
谢谢!
你可以改变样本:app/simple/app/Viewport.js对此:
您将在Chrome控制台中收到此错误消息:
未捕获的TypeError:无法读取未定义的ext-all.js的属性'items':18 Ext.cmd.derive.getDockedItems
但如果你评论这个:
initComponent : function() {
this.callParent();
},
Run Code Online (Sandbox Code Playgroud)
一切都好.
Ext.define('AM.view.Viewport', {
extend : 'Ext.container.Viewport',
layout: 'border',
items : [{
border : false,
region : 'north',
xtype : 'progressbar',
text : 'Ready',
height : 20
}, {
region : 'west',
xtype : 'userlist',
width:300
}, {
region : 'center',
xtype : 'treepanel',
initComponent : function() {
this.callParent();
},
columns : [{
xtype : 'treecolumn',
sortable : false,
width : 200,
text : 'lala',
dataIndex : 'text' …Run Code Online (Sandbox Code Playgroud) 我不知道我的问题是否有效,我使用nominatim搜索引擎,但无法进行自动完成搜索,因此我决定使用mapzen使用pelias,我的问题是可以从nominatim导入数据到pelias?怎么样?
谢谢