Spread for ASP.NET 10 Product Documentation
GroupingPolicy Property (SheetView)
Example 


Gets or sets grouping policy to collapse or expand rows when grouping occurs.
Syntax
'Declaration
 
Public Property GroupingPolicy As GroupingPolicy
'Usage
 
Dim instance As SheetView
Dim value As GroupingPolicy
 
instance.GroupingPolicy = value
 
value = instance.GroupingPolicy
public GroupingPolicy GroupingPolicy {get; set;}
Example
This example sets the GroupingPolicy property.
FpSpread1.ActiveSheetView.AllowColumnMove = true; 
FpSpread1.ActiveSheetView.GroupBarVisible = true; 
FpSpread1.ActiveSheetView.AllowGroup = true;
FpSpread1.ActiveSheetView.GroupingPolicy = FarPoint.Web.Spread.Model.GroupingPolicy.ExpandAll;
FpSpread1.ActiveSheetView.AllowColumnMove = True
FpSpread1.ActiveSheetView.GroupBarVisible = True
FpSpread1.ActiveSheetView.AllowGroup = True
FpSpread1.ActiveSheetView.GroupingPolicy = FarPoint.Web.Spread.Model.GroupingPolicy.ExpandAll
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

SheetView Class
SheetView Members

 

 


Copyright © GrapeCity, inc. All rights reserved.