I have an application that uses the drag/drop feature of the gridview. When a user drops a cell, my application has to update many cells from rows both above and below the target cell (it is a scheduling application).
My application updates a back-end database and then reloads and rebinds the grid. Once the grid has been rebound, I need to select the cell that was the previous target cell and also ensure that it is in the visible grid area (in the case where scroll bars are needed).
Since each cell has a unique value (a shop order number from our back end system), I am able to store that value to a variable and then select that same cell after rebinding.
However, when the grid finishes binding, it seems to be showing the bottom of the grid. I need the grid to bring into focus the selected cell.
Thanks for your help.
My application updates a back-end database and then reloads and rebinds the grid. Once the grid has been rebound, I need to select the cell that was the previous target cell and also ensure that it is in the visible grid area (in the case where scroll bars are needed).
Since each cell has a unique value (a shop order number from our back end system), I am able to store that value to a variable and then select that same cell after rebinding.
However, when the grid finishes binding, it seems to be showing the bottom of the grid. I need the grid to bring into focus the selected cell.
Thanks for your help.