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