We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Display Size of Virtual Grid

Thread ID:





11074 Feb 23,2004 01:30 PM UTC Feb 23,2004 01:35 PM UTC WinForms 1
Tags: GridControl
Desis Machino
Asked On February 23, 2004 01:30 PM UTC

I have an application where it is costly for me to access information for each cell in a grid, which is why I use virtual grid to display my data. However, virtual grid query''s each cell that it is displaying to get its information. What I really need is the ability to know what starting cell and ending cell (or row/col) that the grid is displaying, so I can grab that array of data just once, and buffer it, and then supply it to the virtual grids cell query without having to grab that data each time for each cell. (I assume the virtual grid knows this information since it knows which cells to call querycellinfo on). Please let me know if this is possible, and how I can accomplish this. I hope I have explained myself clearly. Thanks, Vikram.

Administrator [Syncfusion]
Replied On February 23, 2004 01:35 PM UTC

grid.TopRowIndex and grid.LeftColIndex point to the top/left visible cell. grid.ViewLayout.LastVisibleRow and grid.ViewLayout.LastVisibleCol point to the bottom right visible cell. There are TopRowChanging and LeftColChanging events you can catch when these values change.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon