Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
230
Push a grid row into another grid on the same form
posted

Have two grids on a form.Grid1 has a datatable bound to it.Selecting a row/clicking on a cell on a row should push this row into Grid2 which is on the same form, but not bound to any datasource.There is no multi select on grid1 though, but all selections must be pushed to Grid2 and this need to be done without reloading the Grid2. What is the most efficient way of doing this ?

 

Thanks in advance

Rajesh.

  • 469350
    Offline posted

    Hi Rajesh,

    The grid must have a data source in order to function. It is not possible to use the WinGrid with no DataSource.

    There's no way to move a row from one grid to another. You would have to remove the row from the DataSource of the first grid and then create a new row with the same data in the DataSource of the second grid.