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,
We are using the grid unbound and adding rows from our application.
When the last row(s) do not fit in the grid we want to focus the last row to ensure it is visible.
Because there is no mouse with up/down key we can scroll thrue the item.
How can we set some row visible?
How can we detect some row is not visible (when scrolling up)?
We are not using the ListBoxSelectionMode because this shows the selected cell and we always want a full row selection. Is there some way to prevent this? (We are now selecting the cells when moving up/down).
Regards,
Rene
ADAdministrator Syncfusion Team August 2, 2005 09:05 AM UTC
1) The grid.ScrollCellInView method allows you to croll a cell into view.
2) You can get the last visible row using the grid.ViewLayout.LastVisibleRow property.
3) If the grid is not editable, the simplest thing to do is to use the ListBoxSelectionMode but also handle grid.CurrentCellActivating and set e.ColIndex = 0 in the handler. This will prevent the current cell from showing differently.