I have the following code:
$("#igGrid1").live("iggridselectionrowselectionchanged", function (event, args) {
// Using args.row, how do I get // the value of a cell by column key? });
I know that args.row gets me the currently selected row. But I haven't been able to figure out how to get a cell value for this selected row. For example, the value of the column with column key "ItemID".
I've been using the information from here:
http://help.infragistics.com/NetAdvantage/jQuery/Current/CLR4.0
Thanks,Tony
Hi Tony,
var rowObject = args.owner.grid.dataSource.dataView()[args.row.index];
var cellValue = rowObject["someColumnKey"];
Hope it helps,
Angel
Worked perfectly.
Thank you.