Spread for ASP.NET 11 Product Documentation
UIVirtualization Property
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class : UIVirtualization Property
Gets or sets whether to use UI virtualization.
Syntax
'Declaration
 
Public Property UIVirtualization As Boolean
'Usage
 
Dim instance As FpSpread
Dim value As Boolean
 
instance.UIVirtualization = value
 
value = instance.UIVirtualization
public bool UIVirtualization {get; set;}
Remarks

This property displays the horizontal scrollbar and allows you to scroll so you can see all the column headers if the control is too narrow to display them all at once.  If you set the HorizontalScrollBarPolicy property to never, the scroll bar does not show up. The scroll bar shows up with as needed or always if delay scroll is true.

This property can also be used to speed up client side performance if there are a lot of rows and columns (set the property to true) in Microsoft Internet Explorer.

Example
This example sets the UIVirtualization property.
FpSpread1.UIVirtualization = true;
FpSpread1.Sheets[0].RowCount = 0;
FpSpread1.Sheets[0].ColumnCount = 15;
FpSpread1.UIVirtualization = True
FpSpread1.Sheets(0).RowCount = 0
FpSpread1.Sheets(0).ColumnCount = 15
See Also

Reference

FpSpread Class
FpSpread Members