Jan 17, 2014, 3:33 PM
[CLOSED] Jump to grid row with paging
Hi Guys
Ignoring the callback can the below be implemented server side as I do not see a method on the store for FindPage
Thanks,
D
Ignoring the callback can the below be implemented server side as I do not see a method on the store for FindPage
var selectRecord = function (id) {
var grid = App.GridPanel1,
record = grid.store.getById(id);
grid.store.loadPage(grid.store.findPage(record), {
callback : function () {
grid.getSelectionModel().select(record);
}
});
};
Basically I want to jump to a page and select a row (i know the id) on a just loaded grid where that row could exist on a page other than the first one. I could implement this post load client side but would rather not.Thanks,
D
Last edited by Daniil; Jan 20, 2014 at 10:50 AM.
Reason: [CLOSED]