preserve:true/false 是否保存原有选中行,true时必须保证多选模式可用
show:是否自动滚动显示选中行,默认true
用途:行选择
参考实例:mygrid.selectRow(0);
mygrid.selectRow(0,true,true,true);
1.1.80 selectRowById (row_id, preserve, show, call) row_id:行id
call:true/false是否触发选中事件function
preservel:true/false 是否保存原有选中行,true时必须保证多选模式可用
show:是否自动滚动显示选中行,默认true
用途:行选择
1.1.81 setCheckedRows (cInd,v)
cInd:列索引
v:是否选中 0 不选中,1 选中
用途:设置grid中行是否全选中
参考实例: mygrid.setCheckedRows(0,1);//全选中
mygrid.setCheckedRows(0,0); //全不选