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

Can we hide column at run time in synscfusion.window.grid.grouping

Can we hide column at run time in synscfusion.window.grid.grouping

Hi i am using "Syncfusion.Grid.Grouping.Windows",
i wanted to give autohide column property to my end users.

when user click any column or something for hiding any specif column so how we can do it.


so how i can do it.

// i am using
this.Datagridgrouping1.TableDescriptor.VisibleColumns.Remove("ebID");

but this is run time by developer , i wanted feature by end users.

3 Replies

HA haneefm Syncfusion Team May 1, 2007 06:23 PM UTC

Hi,

One way you can do this by handling the TableControlMouseDown event of the grid and show the context menu by right click on the column header for hiding that column. Please refer to the attached sample for more details.

Sample :GGCAutohide.zip

Best regards,
Haneef


CW Can we hide column at run time in synscfusion.wind May 2, 2007 07:34 PM UTC

Hi Haneef i did same thing but i wanted to display filed also when i want a,

i want explore feature so we can add columnd and remove column by any sequence.

as same feature

explore go view and choose details .

>Hi,

One way you can do this by handling the TableControlMouseDown event of the grid and show the context menu by right click on the column header for hiding that column. Please refer to the attached sample for more details.

Sample :GGCAutohide.zip

Best regards,
Haneef


HA haneefm Syncfusion Team May 3, 2007 03:05 PM UTC

Hi,

Here is a sample that shows you " how to show column chooser context menu when user clicked on the TopLeftHeader cell in a grid?"
GridGroupingColumnchooser.zip

Best regards,
Haneef.

Note: Form's icon shows in a TopLeftHeader cell.

Loader.
Live Chat Icon For mobile
Up arrow icon