Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
4421 | May 12,2003 01:45 PM UTC | May 12,2003 03:50 PM UTC | WinForms | 2 |
![]() |
Tags: GridControl |
Me.gridControl1(0, 2).Text = "asd"
Me.gridControl1(0, 2).ReadOnly = True
If you need to handle this problem before you get teh 1.6 release, you can catch teh ClearingCells event, and cancel it by setting e.Handled = true if the e.rangeList contains your header cell.
Private Sub gridControl1_ClearingCells(ByVal sender As Object, ByVal e As GridClearingCellsEventArgs) Handles gridControl1.ClearingCells If e.RangeList.AnyRangeIntersects(GridRangeInfo.Row(0)) Then e.Handled = True End If End Sub
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.