My headers are with own text (not a,b,c,d ...)
when i click on tone header and press erase key, the text disapear. i try to set it on reaonly, but failed to prevent this behavior.
How can i dot that ?
ADAdministrator Syncfusion Team May 12, 2003 09:52 AM
When the 1.6 version is released, setting the readonly will prevent you header text from being deleted.
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
ANAlexandre NicholasMay 12, 2003 10:50 AM
This essential suite, is incredible
thanks for this very good job