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(); } });