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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

OneTimeOnlyQueryCellInfo suppress the QueryCoveredRange event

Thread ID:

Created:

Updated:

Platform:

Replies:

34898 Sep 19,2005 02:26 PM UTC Sep 21,2005 03:56 PM UTC WinForms 1
loading
Tags: GridControl
Georgi Kashev
Asked On September 19, 2005 02:26 PM UTC

The grid from the OneTimeOnlyQueryCellInfo example does not handle the QueryCoveredRange event. As you can see in the attached sample if the covered range is set at design time it is applyed. If it is set through the QueryCoveredRange event it is not applyed. How can I fix this problem? In my project i set a lot of covered ranges and often they break appart in single cells, although the their range still exist in the CoveredRanges collection. OneTimeOnlyQueryCellInfo_2370.zip

Administrator [Syncfusion]
Replied On September 21, 2005 03:56 PM UTC

Hi Georgi, try this code for GridQueryCoveredRange: void GridQueryCoveredRange(object sender, GridQueryCoveredRangeEventArgs e) { if (e.RowIndex == 3) { e.Range = GridRangeInfo.Cells(e.RowIndex, 0, e.RowIndex, ((IGridModelSource) sender).Model.ColCount); e.Handled = true; } } Then it should work. Stefan >The grid from the OneTimeOnlyQueryCellInfo example does not handle the QueryCoveredRange event. As you can see in the attached sample if the covered range is set at design time it is applyed. If it is set through the QueryCoveredRange event it is not applyed. How can I fix this problem? In my project i set a lot of covered ranges and often they break appart in single cells, although the their range still exist in the CoveredRanges collection. > >OneTimeOnlyQueryCellInfo_2370.zip > >

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.

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

;