Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
4029 | Apr 24,2003 09:42 AM UTC | Apr 24,2003 02:38 PM UTC | WinForms | 1 |
![]() |
Tags: GridControl |
private void gridDataBoundGrid1_PrepareViewStyleInfo(object sender, GridPrepareViewStyleInfoEventArgs e) { if(e.ColIndex == 0 && this.dontShowIcon) { e.Style.CellType = "Header"; } }Are you using ListBoxSelectionMode? This mode in conjuction with the CurrencyManager.Position property could explain why the row will not 'unselect'. Here is a little loop that shows all row selections. If you are using other kinds of selections, there is more work to be done.
foreach(GridRangeInfo r in gridControl1.Selections.Ranges) for(int row = r.Top; row <= r.Bottom; row++) Console.WriteLine("hit on row " + row);
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.