Scrollproblem in grid with CoveredRange

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

3 Replies

AD Administrator Syncfusion Team January 19, 2007 10:02 PM UTC

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


LE leemarose January 22, 2007 04:53 AM UTC

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


AD Administrator Syncfusion Team January 22, 2007 05:57 PM UTC

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

Loader.
Up arrow icon