HI All,
I am appyling Drag-Drop on Hierarchical grid.
I am having two problems here.
1. After dropping a row of Hierarchical grid, I want to access these row items on " onrowDropping" javascript event.
In the above function, method "get_masterTableView();" is used for accessing Mastertable of the parent grid. This is npot applicable for Details table in Hierachical grid.
2. While applying drag-drop for the hierarchical grid I want to lock Parent table drag-drop. i.e User should be able to drag a row from Hierarchical grid but not be able to drag a row from the parent grid.
Can anyone please help me in this?
Best Regards,
Hrushikesh.
I am appyling Drag-Drop on Hierarchical grid.
I am having two problems here.
1. After dropping a row of Hierarchical grid, I want to access these row items on " onrowDropping" javascript event.
<
clientevents onrowdropping="rowDropping" /> // This is how I am defining rowDropping.
function
rowDropping(sender, eventArgs) {
var grd = $find('<%=rGridUnscheduledSegments.ClientID %>');
var MasterTable = grd.get_masterTableView();
selectedRows = MasterTable.get_selectedItems();
var
row = selectedRows[0];
var
UId = MasterTable.getCellByColumnUniqueName(row, "UserID")
...
...
In the above function, method "get_masterTableView();" is used for accessing Mastertable of the parent grid. This is npot applicable for Details table in Hierachical grid.
2. While applying drag-drop for the hierarchical grid I want to lock Parent table drag-drop. i.e User should be able to drag a row from Hierarchical grid but not be able to drag a row from the parent grid.
Can anyone please help me in this?
Best Regards,
Hrushikesh.