var view = $$('tabList');
view.addView(
{
body:{
id:id,
type:"stackedBar",
rows:[
{
view:"datatable",
id:'data'+id,
//footer:true,
columns:[
{ id:"id", header:"id",fillspace:true,css:"bet_id"},
],
tooltip:true,
hover:"myhover",
pager:"pagerA",
url:url,
select:'row',
scheme:{
$change:function(obj){
obj.status = getBetStatus(obj)
}
}
},
{
view: "pager",
//animate:{direction:"top"},
id: "pagerA",
//template: '{common.prev()}{common.next()}Page {common.page()} from #limit#',
size: 20,
group: 10,
count:20,
template:"{common.first()} {common.prev()} {common.pages()} {common.next()} {common.last()}",
}
]
}
}
)
I click Next or the first page of data is not found the time to update the data is cached. How to make him every request from the server? How to use the post request?