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.
1. How can I know the number of current visible rows? (rows that the user can see now without scrolling) 2. How can I know if a specific row is visible now (without scrolling)? 3. How can I perform something like PageDown in Grid Control?
If anybody has the answer of even one of the questions above, please write it down, and send it back to the forum.
LSLingaraj S Syncfusion Team October 19, 2009 01:20 PM UTC
Hi Allon,
Thank you for your interest in Syncfusion products.
1. The VisibleRows property contains visible rows count in GridControl. Console.WriteLine(this.gridControl1.ViewLayout.VisibleRows);
2. The VisibleRowsList property contains visible rows collection. if (this.gridControl1.ViewLayout.VisibleRowsList.Contains(4)) Console.WriteLine("4 th row contains in visible range");
3. By default, GridControl is supporting for page up and page down functions. If you want to scroll a rows through code, then please try using ScrollCellInView method in GridControl to achieve your requirements. this.gridControl1.ScrollCellInView(GridRangeInfo.Rows(100,115));
Please let me know if you have any queries.
Regards, Lingaraj S.
ALAllonOctober 20, 2009 07:58 AM UTC
Lingaraj S., Thanks for replying me so quickly.
Everything works very well, and the answer of q.3 is the combination of answer 1 and answer 3.
Have a nice day :) Allon
LSLingaraj S Syncfusion Team October 20, 2009 10:09 AM UTC