This is a migrated thread and some comments may be shown as answers.

ExpandCollapseColumn

1 Answer 74 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Krystal
Top achievements
Rank 1
Krystal asked on 27 May 2011, 02:09 PM
Hi,

I have a grid with many columns and the header is custom header..As Telerik does not support FrozenColumn with Custom headers so i am going for the next option that is ExpandCollapseColumns where user can click on the column he want to view and it expands and collpases accordingly..But i dont see any good expample.

Can you please help me with this as early as possible.

I just want a grid where colmns can be clicked for expanding and collapsing like the rows do.

1 Answer, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 30 May 2011, 11:32 AM
Hi Krystal,

What you can do to achieve your goal is to add the desired columns to the grid COlumns collection. Then hide them by setting the Visible property of the odd columns to false. Thus these columns would not be rendered and would not break the frozen columns functionality. Then in a column header you can add a button. On this button Click, toggle the desired columns visibility.

I hope this helps.

Greetings,
Iana
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Grid
Asked by
Krystal
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Share this question
or