Categories | Question details Back To List | ||||||||
Any function to return that the Grid is rendered ? Hi Team, I need to know,whether the Grid is rendered or not?.. is there any functionality available ? because i will do some task like focusing the Row(showRow) in the visible area after grid rendered. without knowing the grid is rendered.. this function will not help me to show the row. if i got the info abt grid rendered, then i will show the row after grid rendered.. else please guide me to achieve this.. Thanks & Regards, Ashok Answer posted by Support on Oct 14, 2008 07:13 Technically , grid willbe rendered after grid.init call ( or after load XML configuration from external file ) There is no any special flag to detect such change of state, but you can use next code, which will work in most cases if (grid.obj.rows[0]) alert("grid is rendered"); Answer posted by Support on Oct 14, 2008 07:14 The second key point is a moment when data loaded in grid, it can be catched by using onXLE event, or last parameter of grid.load command Answer posted by Ashok on Oct 14, 2008 22:52 Hi Team, this is also helpless... even if I try with your code if (grid.obj.rows[0]) alert("grid is rendered"); i cant focus the row and move to visible which is in scrollable area in the grid. Please guide me to achieve this. it will be helpful to reply with sample. and in the sample the grid contains 100 rows and focus the 25th row which is in the scollable area in the Grid.
Thanks & Regards, Ashok
Answer posted by Support on Oct 15, 2008 04:34 Sample attached Attachments (1)
|