ssinai
6 Oct 2011, 5:22 PM
Does anyone know how to detect when the grid is fully drawn on a page?
I have a large grid that I have split across pages using a PagingToolBar. One of the columns is a set of checkboxes that I set up the same way that the GridPlugins demo in the Ext GWT Explorer does it.
As I go from page to page, the checkboxes don't maintain state. To get around this, I'm saving the checkbox states in a list, but I find I need to wait until the grid for a page is completely redrawn before I can reset the checkboxes using the CheckBoxSelectionModel select(boolean keepExisting, M...) method.
Right now when I go from page to page, I'm using a 3 second timer before I update the checkboxes. I'd rather do it when I get some kind of notification that the page is fully drawn.
Anyone got a clue?
Thanks.
I have a large grid that I have split across pages using a PagingToolBar. One of the columns is a set of checkboxes that I set up the same way that the GridPlugins demo in the Ext GWT Explorer does it.
As I go from page to page, the checkboxes don't maintain state. To get around this, I'm saving the checkbox states in a list, but I find I need to wait until the grid for a page is completely redrawn before I can reset the checkboxes using the CheckBoxSelectionModel select(boolean keepExisting, M...) method.
Right now when I go from page to page, I'm using a 3 second timer before I update the checkboxes. I'd rather do it when I get some kind of notification that the page is fully drawn.
Anyone got a clue?
Thanks.