move between grids

3 posts, 0 answers
  1. George Handlin
    George Handlin avatar
    5 posts
    Member since:
    Mar 2006

    Posted 08 Jun 2013 Link to this post

    Trying to move rows between two grids all client-side.

    This is what I've been trying. I get the correct number of rows in the second grid, but no data.

    function onMoveAssets() {

        var radGrid = $find('<%= AssetGrid.ClientID %>');

        var grid2 = $find('<%= SelectedAssets.ClientID %>').get_masterTableView();

        var selectedItems = radGrid.get_masterTableView().get_selectedItems();

        grid2.set_dataSource(selectedItems);

        grid2.dataBind();

    }

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 10 Jun 2013 Link to this post

    Hi,

    I guess you want to drag rows from a RadGrid and drop it in another Radgrid. Please check this Demo.

    Thanks,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. George Handlin
    George Handlin avatar
    5 posts
    Member since:
    Mar 2006

    Posted 10 Jun 2013 Link to this post

    No, I'm not looking for drag & drop functionality. User selects a set of items from one grid, clicks the "move" button to remove from the source grid and add to the destination grid. Would like to do it all client-side.
Back to Top