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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GDBD RefreshRange and Header Columns repainting

Thread ID:

Created:

Updated:

Platform:

Replies:

7593 Oct 1,2003 06:23 PM UTC Oct 3,2003 02:39 PM UTC Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On October 1, 2003 06:23 PM UTC

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

Administrator [Syncfusion]
Replied On 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

CONFIRMATION

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.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;