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

Client side grouping and collapse/expand by default

1 Answer 60 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Dasha
Top achievements
Rank 1
Dasha asked on 28 Jul 2011, 07:15 PM
Hi,

I can't figure out how to make use of the GridGroupLoadMode.Client, define groups on the server and at the same time selectively collapse certain groups when the grid initially loads.  I'm loading the groups just fine, but when I try to set groupHeader.Expanded = false in the Pre_Render event, I get javascript errors and things don't work right afterwards (context menu doesn't expand, date picker for the filter box does not show, etc).  Do you have an example of how to achieve this?

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 03 Aug 2011, 10:11 AM
Hello Dasha,

Note that when you are using client group load mode you should handle the group collapsing on the client. Please review the following forum thread in which similar scenario is discussed. Review the provided approach and let me know if it helps.

Regards,
Maria Ilieva
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
Dasha
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or