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.
Hello-
What would be the best way to determine if, from within the MouseUp event, a row containing actual data was clicked on? i.e. whether or not the empty row spaces after the last row was clicked?
Along the same lines: what would be the best way to determine how many rows are currently visible in the grid? Will Model.RowCount include filtered rows?
Thank You
ADAdministrator Syncfusion Team February 13, 2003 07:03 PM UTC
Model.RowCount does not include filtered rows. It is just the number of all records that are shown in the grid.
Grid.ViewLayout.VisibleRows returns the number of visible rows in the current view. I mean here the number of rows that are actually shown and not scrolled out of view ...
Use Grid.PointToRangeInfo(pt, -1) to find out if the clicked point is below or right of the grid. It will return GridRangeInfo.Empty in that case.
Stefan