Hello,
I'm trying to create a drag / drop action that moves a string of text from a tree control to a radgrid. The value from the tree control needs to be placed into a field in the datagrid, while the datagrid is in insert or edit mode.
I'm hoping for a simple client side solution. I don't want to commit the row to the database especially in the event the user is not ready to save it yet.
I have hold of my tree value in a variable in javascript
args.get_sourceNode().get_value()
I also have a hold of the control i want to update
var row = selectedRows[i];
var cell = MasterTable.getCellByColumnUniqueName(row, "PageLink");
alert(cell.innerHTML);
I just need the magic that will help me push the value into the cell.
Any ideas a MUCH appreciated.
Ralph
I'm trying to create a drag / drop action that moves a string of text from a tree control to a radgrid. The value from the tree control needs to be placed into a field in the datagrid, while the datagrid is in insert or edit mode.
I'm hoping for a simple client side solution. I don't want to commit the row to the database especially in the event the user is not ready to save it yet.
I have hold of my tree value in a variable in javascript
args.get_sourceNode().get_value()
I also have a hold of the control i want to update
var row = selectedRows[i];
var cell = MasterTable.getCellByColumnUniqueName(row, "PageLink");
alert(cell.innerHTML);
I just need the magic that will help me push the value into the cell.
Any ideas a MUCH appreciated.
Ralph