Spread for ASP.NET 10 Product Documentation
SetRowVisible Method
Example 


Row index
Whether to display the row
Sets whether a row is displayed.
Syntax
'Declaration
 
Public Sub SetRowVisible( _
   ByVal row As Integer, _
   ByVal visible As Boolean _
) 
'Usage
 
Dim instance As SheetView
Dim row As Integer
Dim visible As Boolean
 
instance.SetRowVisible(row, visible)
public void SetRowVisible( 
   int row,
   bool visible
)

Parameters

row
Row index
visible
Whether to display the row
Remarks

Set to True to display the row. Set to False to hide the row.

To get whether a row is displayed, use the GetRowVisible method.

To specify whether a column is displayed, use the SetColumnVisible method.

Example
This example illustrates the use of this member by setting whether the specified row is visible.
FarPoint.Web.Spread.SheetView sv;
sv = FpSpread1.ActiveSheetView;
sv.SetRowVisible(1, false);
Dim sv As FarPoint.Web.Spread.SheetView
sv = FpSpread1.ActiveSheetView
sv.SetRowVisible(1, False)
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
GetRowVisible Method
SetColumnVisible Method

User-Task Documentation

Showing or Hiding Rows or Columns

 

 


Copyright © GrapeCity, inc. All rights reserved.