Here’s a scenario – page has 2 grids – grid are loaded from database via ajax with datatype xml
Grid 1 – list all the products
Grid 2 – user selects the product row in Grid 1 – this shows all the orders associated with product
User scrolls down and selects a order item from Grid 2 – this shows form below – where user substitutes the product with a another – This needs to update info in Grid 1 and Grid 2
For Grid 1 we just replace the content of the row using rowid and setRowData
For Grid 2 we have reload the grid to show the newly substituted item and any other changes done for the items by other users. Here in lies the problem – grid scrolls to the top on reload
It would be really useful to maintain user selected row in Grid 2 after the reload – in other words Grid 2 should return to the selected row on reload