Spread for ASP.NET 11 Product Documentation
ResetIfNoFilteredRow Property (FpSpread)
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class : ResetIfNoFilteredRow Property
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
'Declaration
 
Public Property ResetIfNoFilteredRow As Boolean
'Usage
 
Dim instance As FpSpread
Dim value As Boolean
 
instance.ResetIfNoFilteredRow = value
 
value = instance.ResetIfNoFilteredRow
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.
FpSpread1.ActiveSheetView.AutoFilterMode = FarPoint.Web.Spread.AutoFilterMode.FilterBar;
FpSpread1.ResetIfNoFilteredRow = True;
FpSpread1.ActiveSheetView.AutoFilterMode = FarPoint.Web.Spread.AutoFilterMode.FilterBar
FpSpread1.ResetIfNoFilteredRow = True
See Also

Reference

FpSpread Class
FpSpread Members