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.
Unfortunately, activation email could not send to your email. Please try again.

Display Size of Virtual Grid

Thread ID:

Created:

Updated:

Platform:

Replies:

11074 Feb 23,2004 08:30 AM Feb 23,2004 08:35 AM Windows Forms 1
loading
Tags: GridControl
Desis Machino
Asked On February 23, 2004 08:30 AM

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 08:35 AM

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.

CONFIRMATION

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.

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.

;