HOW TO GET VALUE FROM SELECTED CELL IN WEBDATAGRID via BLOCKED SCRIPT
1.
on double click event you can use event args…
eventArgs.get_item().get_row().get_cellByColumnKey("column_name").get_text()
2.
You can reference the grid also with the sender argument if it is used in an event
sender.get_behaviors().get_selection().get_selectedRows(0).getItem(0).get_cellByColumnKey("columnname").get_text()
3.
You can just reference the grid directly
var grid = ig_controls["gridName"];
var value = grid.get_behaviors().get_selection().get_selectedRows(0).getItem(0).get_cellByColumnKey("column_name").get_text()
原文:http://www.cnblogs.com/sizhizhiyue/p/5007530.html