I am new to this community and using infragistics asp.net controls for the first time. I have a web data grid & button on my asp.net page with 6 columns. I am calling a java script function on button click. User will select one row in grid and click on button to open popup.
My question is how to get a id column value from the selected row in javascript function? Please help. I have looked at this forum, but did't find an answer.
Thanks in advance.
Lavanya
Thanks for the response. I am using below code and this works.
var
activeRow = grid.get_behaviors().get_activation().get_activeCell().get_row();
cell = activeRow.get_cellByColumnKey(
"ID");
ID= String(cell.get_value());
You are trying to get column object? then, try this igtbl_getColumnById(id). If u try to get a cel value from the selected row, then row.getCellFromKey('ID').getVaue() will help you.