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.

Removing grid column not update grid display

Thread ID:





20214 Oct 12,2004 10:44 AM Oct 13,2004 08:41 AM Windows Forms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On October 12, 2004 10:44 AM

I have a griddataboundgrid that originally contains 3 columns. Depending on user selection in a combobox in the form, a column can be removed. But, after the column removal, I still see 3 columns, but the last column is blank, but still selectable by mouse. When checking for GridBoundColumns.Count, it says 2. What I did is use GridBoundColumns.Remove(column) to remove the column. What could be wrong? I have attached the screenshot. Thanks very much.

Administrator [Syncfusion]
Replied On October 13, 2004 08:41 AM

After removing the gridbound column, try calling grid.Binder.InitializeColumns and then grid.Refresh to see if this handles this problem.


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.

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.