I'm using the following code to perform a row click on the client side that opens a new RadWindow.
There are 10 columns in my grid. Is it possible to remove the first two columns from the row click event? So it would only pick up the click on columns 3-10?
I put the rowclick event in for ease of use, but now they want to be able to copy some order numbers from the first two columns.
| function RowClick(sender, eventArgs) |
| { |
| var MasterTableView = eventArgs.get_tableView(); |
| var cell = MasterTableView.getCellByColumnUniqueName(MasterTableView.get_dataItems()[eventArgs.get_itemIndexHierarchical()], "item"); |
| var cell2 = MasterTableView.getCellByColumnUniqueName(MasterTableView.get_dataItems()[eventArgs.get_itemIndexHierarchical()], "OrdNumb"); |
| var cell3 = MasterTableView.getCellByColumnUniqueName(MasterTableView.get_dataItems()[eventArgs.get_itemIndexHierarchical()], "POS"); |
| var cell4 = MasterTableView.getCellByColumnUniqueName(MasterTableView.get_dataItems()[eventArgs.get_itemIndexHierarchical()], "HdrBuyFromBP"); |
| var oWnd = radopen("Details.aspx?item=" + cell.innerHTML + "&Order_No=" + cell2.innerHTML + "&POS=" + cell3.innerHTML + "&BP=" + cell4.innerHTML ); |
| oWnd.add_close(OnClientClose); |
| } |
| function OnClientClose(sender,args) |
| { |
| // GetRadWindow().BrowserWindow.location.reload(); |
| } |
| </script> |
There are 10 columns in my grid. Is it possible to remove the first two columns from the row click event? So it would only pick up the click on columns 3-10?
I put the rowclick event in for ease of use, but now they want to be able to copy some order numbers from the first two columns.