How do I set the current row on a webdatagrid?
thanks.
Yep, this (http://help.infragistics.com/NetAdvantage/ASPNET/2011.1/CLR4.0/?page=WebDataGrid_Selection.html) is exactly what I was looking for.
Hello,
I am following up to see if the information provided has resolved this matter.
Please let me know if I may be of further assistance with this matter.
Sincerely,Mike P.Developer Support EngineerInfragistics, Inc.www.infragistics.com
Hello Mario,
The following link contains information on Selection for the cell, column, and row. Is this the behavior you are looking for?
http://help.infragistics.com/NetAdvantage/ASPNET/2011.1/CLR4.0/?page=WebDataGrid_Selection.html
Please let me know if I may be if further assistance with this matter.
curent row and column
var idxRow = evntArgs._cell._row._index;
var idxCol = evntArgs._cell._column._visibleIndex;
others functions
var TotRow = grdDetalle.get_rows().get_length();
var TotCol = grdDetalle.get_columns().get_length();
var keyCol = evntArgs._cell._column._key;
var row = grdDetalle.get_rows().get_row(idxRow);
var dato = row.get_cell(idxCol).get_value();
var dato2 = row.get_cellByColumnKey(keyCol).get_value()
Hi mario101,
What is 'the current row'? Do you mean focus or scrolled? If you turn on the Activation behavior, when you set an active cell, the row could be considered active.
regards,David Young