I have a logic in a GDBD where some columns are hid or shown based on user input values.
After a RefreshRange(ViewLayout.VisibleCellsRange) is applied in order to repaint the GDBD some header columns are out of sync.
Is there a way to refresh column headers?
Should I use RefreshRange with other parameter where column headers are repainted?
ADAdministrator Syncfusion Team October 3, 2003 09:39 AM
When you hide columns you should do that with Model.HideCols. That should normally also repaint the screen.
If for some reason you need to manually refresh header cells, you could just do this by calling Refresh. This will repaint all cells that are visible.
VisibleCellsRange only includes non-header cells. That's why they don't get repainted.