Spread ASP.NET 6.0 Product Documentation
GroupingPolicy Property
See Also  Example Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class : GroupingPolicy Property


Glossary Item Box

Gets or sets grouping policy to collapse or expand rows when grouping occurs.

Syntax

Visual Basic (Declaration) 
Public Property GroupingPolicy As GroupingPolicy
Visual Basic (Usage)Copy Code
Dim instance As FpSpread
Dim value As GroupingPolicy
 
instance.GroupingPolicy = value
 
value = instance.GroupingPolicy
C# 
public GroupingPolicy GroupingPolicy {get; set;}

Example

This example sets the GroupingPolicy property (create a group first).
C#Copy Code
FpSpread1.GroupingPolicy = FarPoint.Web.Spread.Model.GroupingPolicy.CollapseAll;
Visual BasicCopy Code
FpSpread1.GroupingPolicy = FarPoint.Web.Spread.Model.GroupingPolicy.CollapseAll

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.