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

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

Thread ID:

Created:

Updated:

Platform:

Replies:

60247 May 1,2007 02:45 PM UTC May 3,2007 03:05 PM UTC WinForms 3
loading
Tags: GridControl
Can we hide column at run time in synscfusion.wind
Asked On May 1, 2007 02:45 PM UTC

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.

haneefm [Syncfusion]
Replied On 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

Can we hide column at run time in synscfusion.wind
Replied On 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

haneefm [Syncfusion]
Replied On 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.

CONFIRMATION

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.

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

;