Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
6518 | Aug 14,2003 07:45 PM UTC | Aug 15,2003 06:55 PM UTC | WinForms | 6 |
![]() |
Tags: GridControl |
Me.GridDataBoundGrid1.Model.CommandStack.Enabled = True
then SaveCellsInfo should be non-empty.
> Me.GridDataBoundGrid1.Model.CommandStack.Enabled = True
>
> then SaveCellsInfo should be non-empty.
private void gridControl1_CellsChanging(object sender, GridCellsChangingEventArgs e) { int row, col; GridData data = this.gridControl1.Data; bool b = e.Range.GetFirstCell(out row, out col); while(b) { string oldValue = ""; if(data[row, col] != null) { GridStyleInfo style = new GridStyleInfo(data[row, col]); oldValue = style.Text; Console.WriteLine("({0},{1})=[{2}] ", row, col, oldValue); } b = e.Range.GetNextCell(ref row, ref col); } }
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.
This page will automatically be redirected to the sign-in page in 10 seconds.