miniui表格load数据成功后,回调函数,其中setData要用如下方法
init: function () {
mini.parse();
this.grid = mini.get("jsDatagrid");
var grid1 = mini.get("jsDatagrid");
this.grid.load(null,function(e){
var s = e.result.data[0].data;
var data = mini.decode(s);
//var data1= [{"outName":"xxxxx"}];
grid1.setData(data);
// mini.get("jsDatagrid").setData(data);
// var s = mini.get("jsDatagrid").getData();
})