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.

Scrollproblem in grid with CoveredRange

Thread ID:

Created:

Updated:

Platform:

Replies:

54907 Jan 19,2007 07:08 AM Jan 22,2007 12:57 PM Windows Forms 3
loading
Tags: GridControl
leemarose
Asked On January 19, 2007 07:08 AM

Hi all,

I have scrolling problem in the grid in the particular column
where i used the CoveredRanges property.
in addition to that while i am scrolling
i need to perform different function while
focus on each row changes(when rowindex changes
function has to be clkled off).

pls give ma suggestion

regards

Leema

Administrator [Syncfusion]
Replied On January 19, 2007 05:02 PM

Hi Leema,

Regarding Scrollbar problem:

Please try enabling the pixel scrolling to see if that helps.

this.gridControl1.VScrollPixel = true;
this.gridControl1.HScrollPixel = true;

To execute the different function when the rowindex changes, you need to handle the CurrentCellMoving event and perform the fuction. Here is a code snippet.

this.gridControl1.CurrentCellMoving +=new GridCurrentCellMovingEventHandler(gridControl1_CurrentCellMoving);

private void gridControl1_CurrentCellMoving(object sender, GridCurrentCellMovingEventArgs e)
{
GridCurrentCell cc = (sender as GridControl).CurrentCell;
if( cc.MoveFromRowIndex != cc.MoveToRowIndex)
{
//Perform the function here.
}
}

Best Regards,
Haneef

leemarose
Replied On January 21, 2007 11:53 PM

Hi haneef!

I used below coding
this.gridControl1.VScrollPixel = true;
this.gridControl1.HScrollPixel = true;

For moving the cursor pointed in coverrange column of the first row to the next row by scrolling,

but it does not worked out.still the cursor in the
same row.

Any other way to execute it.

Regards

Leema

Administrator [Syncfusion]
Replied On January 22, 2007 12:57 PM

Hi Leema,

We are not sure of what be might be causing this strange behavior without a working sample. Are you setting any WrapCellBehavior or WnatTabKey property? Please post us a sample showing this problem, which will help us to find the issue and resolve this.

Thanks for your patience.

Regards,
Haneef

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.

;