When I flip to the second page, the last line can not be displayed
http://storage.googleapis.com/bm888/D7D331C4-F925-4277-AA44-F83C7BF5C1E8.png
Are you using per-row height settings or issue occurs for common datatable with fixed row height ?
Can you recreate the issue in the snippet tool ( http://webix.com/snippet/ ) ?
{
view:"datatable",
id:'data'+id,
//footer:true,
columns:[
{
id:"id", header:"注单编号",fillspace:true,css:"bet_id"
},
{id:"username",header:"用户账号",fillspace:true},
{id:"lottery",header:"彩种",fillspace:true},
{id:"play_cate",header:"玩法分类",fillspace:true},
{id:"play_kind",header:"玩法",fillspace:true},
{id:"detail",header:"投注内容",fillspace:true},
{id:"num",header:"注数",fillspace:0.6},
{id:"expect",header:"期号",fillspace:1.3},
//{id:"single_money",header:"单注金额",fillspace:true},
{id:"total_money",header:"投注总额",fillspace:true},
/*{id:"beishu",header:"倍数",fillspace:0.5},
{id:"money_type",header:"模式",fillspace:0.5},*/
{id:"result",header:"开奖号码",fillspace:true},
{id:"bonus",header:"单注奖金",fillspace:true},
{id:"profit",header:"盈利金额",fillspace:true},
{id:"bet_time",header:"时间",fillspace:1.6},
{id:"status",header:"状态",fillspace:1}
],
//tooltip:true,
hover:"myhover",
pager:"pager_bet",
select:'row',
data:xml.json(text),
scheme:{
$change:function(obj){
obj.status = getBetStatus(obj)
}
},
on:{
onItemClick:function(id,e,node){
if(id.column == 'id')
{
bet_detail(id.row)
}
}
}
}
Please correct me, but I don’t see any sizing instruction for datatable in the code. You may try to use autoheight or yCount in the config of datatable
http://docs.webix.com/api__ui.datatable_autoheight_config.html
I added a set resizeRow:true