//显示子表
function onShowRowDetail(e) {
var grid = e.sender;
var row = e.record;
var td = grid.getRowDetailCellEl(row);
$("#detailGrid_Form").css({ "display": "block" });
$("#detailGrid_Form").appendTo(td);
LoadeGrid2(row.RecordID);
}
[attach]6856[/attach]
在子表显示状态下,点击MINIUI自带的刷新(查询之类的方法也一样)后在发生onShowRowDetail事件会找不到detailGrid_Form?!
[attach]6855[/attach]
//按时间查找主表
function search() {
var begindate = mini.get("BeginDate");
var enddate = mini.get("EndDate");