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.

QueryCoveredRange - what is this event do?

Thread ID:





8873 Nov 24,2003 10:46 PM Nov 25,2003 04:30 AM Windows Forms 1
Tags: GridControl
Asked On November 24, 2003 10:46 PM

In your virtual grid, you use this event.. why? what is it used for? The help file does not go into detail. Can you explain what this event is doing on your Virtual grid demo? Thanks in advance. Dave

Administrator [Syncfusion]
Replied On November 25, 2003 04:30 AM

Notice in the sample, some cells actually cover several 'standard sized cells". For example, in the tutorial sample, cell 1,1 actually occupies (covers) cells (1,1), (1,2) and (1,3). QueryCoveredRange is the event where these covered ranges are provided on demand. In a non-virtual grid, you can set up covered ranges using grid.CoveredRanges.Add. But in a virtual where you might want a very large number of covered ranges, using this method is not practical. This is the reason for the QueryCoveredRange event. If you do not need Covered Ranges, then you would not need this handler.


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.