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

Removing grid column not update grid display

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.

1 Reply

AD Administrator Syncfusion Team 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.

Loader.
Live Chat Icon For mobile
Up arrow icon