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.
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();
}