Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
20257 | Oct 13,2004 11:48 AM UTC | Oct 13,2004 03:18 PM UTC | WinForms | 5 |
![]() |
Tags: GridControl |
private void gridDataBoundGrid1_MouseDown(object sender, MouseEventArgs e) { int row, col; Point pt = new Point(e.X, e.Y); int disabledCol = this.gridDataBoundGrid1.Binder.NameToColIndex("Col1"); if(this.gridDataBoundGrid1.PointToRowCol(pt, out row, out col, -1) && col == disabledCol) { this.gridDataBoundGrid1.CurrentCell.MoveTo(row, 1); //assumes 1 is not disabled } }
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.