Home › Forums › WinForms controls › Xceed Grid for WinForms › Clearing the grid › Reply To: Clearing the grid
I do this.. and it works fine..
I had to remove the datarows I think to make this work. But, I had the same problem as you.
gcOuting is my “GridControl” name
Dim iCTR As Int32 = 0
For iCTR = 0 To gcOuting.Columns.Count – 1
gcOuting.Columns.Remove(gcOuting.Columns.Item(0))
Next
gcOuting.DataRows.Clear()
Imported from legacy forums. Posted by Doc Ozzie (had 442 views)