There are lots of examples on how to access items
function GetSelectedRowsByID()
{
var grid = $find('grdOffRequests');
var grid1 = $find('<%=grdOffRequests.ClientID%>');
var grid2 = $IG.WebDataGrid.find('<%= grdOffRequests.ClientID %>');
var selectedIDs = '';
var rowsLength = grid.get_rows().get_length();
....
<ig:WebHierarchicalDataGrid ID="grdOffRequests" runat="server"
..
So I tried a number of methods of getting the grid. All form wonderful examples from this web forum.
My grid, grid1 and grid2 all are the same. In the quickwatch of IE I see a number of methods
get_bands()
get_id()
get_name()
Alas I see no get_rows()
Any suggestions?
grid.get_gridView().get_rows()
get_gridView() fixes the problem
Hello Monroe,Please also take a look at the attached from me sample which contains grid with selection and a HTML button. When the button is pressed it shows which is the index of the selected row in the WDG. More information could be found in our online help: http://help.infragistics.com/NetAdvantage/ASPNET/2011.2/CLR4.0/?page=WebDataGrid_Selection.html