We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

GDBD RefreshRange and Header Columns repainting

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? TIA Jose

1 Reply

AD Administrator Syncfusion Team October 3, 2003 02:39 PM UTC

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. Stefan

Loader.
Live Chat Icon For mobile
Up arrow icon