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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Removing grid column not update grid display

Thread ID:





20214 Oct 12,2004 02:44 PM UTC Oct 13,2004 12:41 PM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On October 12, 2004 02:44 PM UTC

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 12:41 PM UTC

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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon