The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hi, in a GridDataBoundgrid I want to get the current top row index so that I can preserve the current view after an update. E.g. if the grid is currently showing rows 7 to 20 and has row 14 selected, I''d like to be able to completely redraw the grid, then set the view back such that rows 7 to 20 are displayed with row 14 selected.
>Hi, in a GridDataBoundgrid I want to get the current top row index so that I can preserve the current view after an update. E.g. if the grid is currently showing rows 7 to 20 and has row 14 selected, I''d like to be able to completely redraw the grid, then set the view back such that rows 7 to 20 are displayed with row 14 selected.
Thanks,
Nick
Resolved. For anyone interested:
int topRowIndex = queryResultsGrid.TopRowIndex; int selectedRowIndex = queryResultsGrid.CurrentCell.RowIndex;