Spread for ASP.NET 7.0 Product Documentation
ResetIfNoFilteredRow Property
See Also  Example Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class : ResetIfNoFilteredRow Property


Glossary Item Box

Gets or sets a value that indicates whether the filtered row list will be reset if there is no filtered row. Set this property to False to be compatible with version 6 or earlier.

Syntax

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

Remarks

If the filtered row list is empty, the filter is reset, and Spread does not display the rows. If the ResetIfNoFilteredRow property is set to false, the rows are displayed.

Example

This example resets the filtered row list if no items meet the filter criteria.
C#Copy Code
FpSpread1.ActiveSheetView.AutoFilterMode = FarPoint.Web.Spread.AutoFilterMode.FilterBar;
FpSpread1.ResetIfNoFilteredRow = True;
VB.NETCopy Code
FpSpread1.ActiveSheetView.AutoFilterMode = FarPoint.Web.Spread.AutoFilterMode.FilterBar
FpSpread1.ResetIfNoFilteredRow = True

Requirements

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

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.