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

GridGroupingControl VisibleColumns

Thread ID:





28405 May 2,2005 07:44 AM UTC May 3,2005 08:59 AM UTC WinForms 5
Tags: GridControl
Krijn Michiels
Asked On May 2, 2005 07:44 AM UTC

Hi, The GridGroupingControl keeps resetting the VisibleColumns property when reopening the parent form. Version currently using is

Administrator [Syncfusion]
Replied On May 2, 2005 08:01 AM UTC

What do you mean by: >>reopening the parent form If you mean creating a new form, then all the controls will be created new as well, and will have the initial state of those controls (including the GridGroupingControl). If you want certain columns visible at this point, you would have to persist the prevoius visible column collection and somehow reset it as you create the GridGoupingControl. If you mean you are just setting form1.Visible = true or calling form1.Show, but not re-creating it, then the existing Visible columns should reflect what was present when you hid the form.

Krijn Michiels
Replied On May 2, 2005 07:54 PM UTC

Samples_5255.zip Steps to reproduce using (!) : 1. open project ''SampleGridGroupingBug'' 2. open Form1 in VS designer 3. navigate in property page to tabledescriptor-visiblecolumns 4. remove id and date column 5. build and run solution All visiblecolumns are removed. The visiblecolumns property is reset to the previous (all columns) state. In version this problem is solved. Second example using (!) : 1. open project ''SampleGridGrouping'' 2. build and run project 3. insert text in first cell (ex. test) 4. click on header cell (employee) The application crashes. I really thought that the controls would be less bugy in the newest version.

Administrator [Syncfusion]
Replied On May 2, 2005 10:48 PM UTC

The second problem is corrected in the latest release, When I try to see the first problem with the, and open the VisibleColumns collection in the designer, I only see the employee column listed. From you description, I was expecting to see other columns.

Krijn Michiels
Replied On May 3, 2005 06:23 AM UTC

Can you see only the employee column when you run the project ?!?

Administrator [Syncfusion]
Replied On May 3, 2005 08:59 AM UTC

I see only the employee column both at design time and at runtime. Here is the SampleGridGroupingBug that I downloaded. http://www.syncfusion.com/Support/user/uploads/SampleGridGroupingBug_e6741f43.zip


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