Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
15311 | Jun 16,2004 06:17 AM UTC | Jun 16,2004 06:40 AM UTC | WinForms | 1 |
![]() |
Tags: GridControl |
private void gridControl1_CellClick(object sender, GridCellClickEventArgs e) { //use this code to try to handle column selections with ListBoxSelectionMode set if(e.ColIndex > 0 && e.RowIndex == 0) { this.gridControl1.Selections.Add(GridRangeInfo.Col(e.ColIndex)); } }2. Try setting
grid.ActivateCurrentCellBehavior = GridCellActivateAction.None;
If you do not want the clicked cell to look differently, try also setting
grid.TableStyle.Enabled = false;
3. In the grid''s ControllerOptions property, turn off the OleDataSource flag. 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.