您的位置:首页 > 产品设计 > UI/UE

Mniui 学习笔记 2

2015-10-08 10:16 543 查看
1.radio

radio 切换,清除grid 排序,并显示某列

var queryType = mini.get("queryType");
queryType.on("valuechanged", function (e) {
if("1"==this.getValue()){
grid.hideColumn("statisticsDate");
grid.hideColumn("followCustomerN");
grid.clearSort();
}else{
grid.showColumn("statisticsDate");
grid.showColumn("followCustomerN");
grid.clearSort();
}
});
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: