| Visual Basic (Declaration) | |
|---|---|
Public Enum GroupingPolicy Inherits System.Enum | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As GroupingPolicy | |
| C# | |
|---|---|
public enum GroupingPolicy : System.Enum | |
| Member | Description |
|---|---|
| CollapseAll | Spread collapses all rows when the grouping action occurs. |
| ExpandAll | Spread expands all rows when the grouping action occurs. |
| ExpandParents | Spread expands all parent rows and collapses just the lowest level when grouping occurs. |
| NotSet | Does not set the grouping policy, this is the default setting for the GroupingPolicy property. |
This example sets the GroupingPolicy enumeration.
| C# | Copy Code |
|---|---|
FpSpread1.ActiveSheetView.AllowColumnMove = true; FpSpread1.ActiveSheetView.GroupBarVisible = true; FpSpread1.ActiveSheetView.AllowGroup = true; FpSpread1.ActiveSheetView.GroupingPolicy = FarPoint.Web.Spread.Model.GroupingPolicy.ExpandAll; | |
| VB.NET | Copy Code |
|---|---|
FpSpread1.ActiveSheetView.AllowColumnMove = True FpSpread1.ActiveSheetView.GroupBarVisible = True FpSpread1.ActiveSheetView.AllowGroup = True FpSpread1.ActiveSheetView.GroupingPolicy = FarPoint.Web.Spread.Model.GroupingPolicy.ExpandAll | |
System.Object
System.ValueType
System.Enum
FarPoint.Web.Spread.Model.GroupingPolicy
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6