Hello,
i use the WebHierarchicalDataGrid 10.2 with CLR 4. There are ~ 150 rows in the main grid; but only the first 20 rows are visible; so i use scrollbars.
I use the following code behind to select a specific row in the RowIslandDataBound-Event.
Selection s = e.RowIsland.Behaviors.Selection; s.SelectedRows.Clear(); s.SelectedRows.Add(e.RowIsland.Rows.FromKey(new object[] {iRow}));
How can i scroll the selected row (may be the 99th row) in the visible aerea?
Hi page,
The WHDG features a ScrollTop property in its GridView. Please refer to the following thread for suggestions on how to scroll to a specific row (the discussion is about WebDataGrid but the principle is the same):
https://www.infragistics.com/community/forums/f/ultimate-ui-for-asp-net/60872/programatically-scroll-the-webdatagrid-to-show-specific-row-with-index-250-for-ex-row-as-the-first-row
Please contact me if you have any questions.
Best Regards,
Petar IvanovDeveloper Support EngineerInfragistics, Inc.https://www.infragistics.com/support