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

Expand Collapse columns like excel . .

Thread ID:

Created:

Updated:

Platform:

Replies:

32554 Aug 3,2005 03:24 PM UTC Aug 23,2005 11:09 PM UTC WinForms 6
loading
Tags: GridControl
Adam K.
Asked On August 3, 2005 03:24 PM UTC

i am using a virual grid but i wanted to see if you had the ability to expand / collapse columns like you can do in excel . . In excel, you go to Data, Group and Outline . . thanks, ak

Administrator [Syncfusion]
Replied On August 3, 2005 04:15 PM UTC

If you an hierarchical database, you can use a GridDataBoundGrid as in this sample to diplay the information in a tree. \Syncfusion\Essential Studio\3.3.0.0\Windows\Grid.Windows\Samples\DataBound\Hierarchical\GDBGTreeLines\sample.gif If you really need to use a GridControl, then you will have to manage the expanding and collapsing of teh rows your self. It is doable, but will take some coding. We ship one sample. C:\Program Files\Syncfusion\Essential Studio\3.3.0.0\Windows\Grid.Windows\Samples\In Depth\VirtTreeGrid Here is a forum thread that has a helper class to do something like this. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=25202

Adam K.
Replied On August 8, 2005 07:43 PM UTC

I am trying to collapse COLUMNS not ROWS thks, ak >If you an hierarchical database, you can use a GridDataBoundGrid as in this sample to diplay the information in a tree. \Syncfusion\Essential Studio\3.3.0.0\Windows\Grid.Windows\Samples\DataBound\Hierarchical\GDBGTreeLines\sample.gif > >If you really need to use a GridControl, then you will have to manage the expanding and collapsing of teh rows your self. It is doable, but will take some coding. We ship one sample. C:\Program Files\Syncfusion\Essential Studio\3.3.0.0\Windows\Grid.Windows\Samples\In Depth\VirtTreeGrid > >Here is a forum thread that has a helper class to do something like this. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=25202

Administrator [Syncfusion]
Replied On August 8, 2005 07:54 PM UTC

This can be done. You would have to use a virtual grid like VirtTreeGrid and switch the roles of the row and columns.

Adam K.
Replied On August 23, 2005 09:12 PM UTC

is VirtTreeGrid a sample ?? i dont see it . . i am using version 3.0.1.0 Can you send me a link ? thks, ak >i am using a virual grid but i wanted to see if you had the ability to expand / collapse columns like you can do in excel . . > >In excel, you go to Data, Group and Outline . . > >thanks, >ak > >

Adam K.
Replied On August 23, 2005 09:22 PM UTC

I see the virttreegrid is more like a hierarchy grid . . i would like the functionality like they have in excel for Data, Group and Outline this is not a heirarchy this is simply showing and hiding a set of columns with 1 click . . thanks, ak >is VirtTreeGrid a sample ?? i dont see it . . i am using version 3.0.1.0 > >Can you send me a link ? > >thks, >ak > >>i am using a virual grid but i wanted to see if you had the ability to expand / collapse columns like you can do in excel . . >> >>In excel, you go to Data, Group and Outline . . >> >>thanks, >>ak >> >>

Administrator [Syncfusion]
Replied On August 23, 2005 11:09 PM UTC

We currently have no support for expanding/collapsing columns. You would have to code this yourself. Here are a couple of samples that show some ways to do this. In the first one, double click the column headers to expose new columns. In the second one, just click a button the the column of buttons. http://www.syncfusion.com/Support/user/uploads/TradeGridSample_9b94d53a.zip http://www.syncfusion.com/Support/user/uploads/GC_Expand_8d6bfaed.zip

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

;