mini.parse();
var grid = mini.get("datagrid1");
grid.setUrl("../data/...");
grid.load();
var selectMaps = {};
function onGridLoad(e) {
var rows = selectMaps[grid.getPageIndex()];
if (rows) grid.selects(rows);
}
function onSelectoinChanged(e) {
var rows = grid.getSelecteds();
selectMaps[grid.getPageIndex()] = rows;
}