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.

CoveredRange Questions

Thread ID:

Created:

Updated:

Platform:

Replies:

100815 Sep 7,2011 10:15 AM Sep 10,2011 01:42 AM ASP.NET Web Forms (Classic) 1
loading
Tags: GridGroupingControl
Marion Smith
Asked On September 7, 2011 10:15 AM

A few questions about the CoveredRange.

1) How can you know if the Grid.CoveredRange.Add() succeeded or not (since it will not add an overlapping CoveredRange)?
2) I am using a grid with a splitter. I can draw on the CoveredRanges in the first splitter panes but my drawing doesn't show on any of the over splitter panes?
3) How can I get a reference to a newly added CoveredRange (like and index)?
4) What is the Grid.CoveredRange.Ranges.Add() good for?


Ragamathulla B [Syncfusion]
Replied On September 10, 2011 01:42 AM


Hi Marion,

Thank you for your interest in syncfusion products.

1) you can set the coveredRange in the spliter using CoveredRange method. The following code explains the same.

this.gridControl1.CoveredRanges.Add(GridRangeInfo.Cells(3,1,5,4));


2)You can get the index of covered range from

QueryCoveredRange event.


void gridControl1_QueryCoveredRange(object sender,

GridQueryCoveredRangeEventArgs e)
{
//other code
}


Please refer the following sample which illustrate the same.

http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=SplitterCoveredRange-25825403.zip

Let me know if you have any further conerns.

Regards,
Ragamathullah B.


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.

;