AD
Administrator
Syncfusion Team
February 28, 2005 05:12 PM UTC
Try handling the ClearingCells event.
private void grid_ClearingCells(object sender, GridClearingCellsEventArgs e)
{
GridRangeInfo range = e.RangeList.ActiveRange;
if(range.IsRows)
{
this..Rows.RemoveRange(range.Top, range.Bottom);
e.Handled = true;
}
}
LA
Lamy
March 1, 2005 09:48 AM UTC
Great !
Thank you.
>Try handling the ClearingCells event.
>
>private void grid_ClearingCells(object sender, GridClearingCellsEventArgs e)
>{
> GridRangeInfo range = e.RangeList.ActiveRange;
> if(range.IsRows)
> {
> this..Rows.RemoveRange(range.Top, range.Bottom);
> e.Handled = true;
> }
>}