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
close icon

QueryCoveredRange - what is this event do?

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

1 Reply

AD Administrator Syncfusion Team November 25, 2003 09:30 AM UTC

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.

Live Chat Icon For mobile
Up arrow icon