why is this better than calling the refresh range in the SaveCellInfo event . .??
thks,
ak
>Hi Adam,
>
> If you want to call the refresh range when the user changes the data then use the following code snippet
>
> bool flag;
> private void gridControl1_CurrentCellEditingComplete(object sender, EventArgs e)
> {
> if(flag)
> {
> this.gridControl1.RefreshRange(GridRangeInfo.Row(this.gridControl1.CurrentCell.RowIndex));
> flag = false;
> }
> }
> private void gridControl1_CurrentCellChanging(object sender, System.ComponentModel.CancelEventArgs e)
> {
> flag = true;
> }
>
>Refer to this
sample for details
>
>Regards,
>Madhan