Spread ASP.NET 6.0 Product Documentation
RenderEditors Property
See Also  Example Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class : RenderEditors Property


Glossary Item Box

Gets or sets whether the FarPoint Spread always displays the editor if the editor is defined for a cell.

Syntax

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

Property Value

Boolean: true to have Spread draw the editors; false otherwise

Remarks

Set this property to true to have Spread draw the editors for cells that have editors associated with them. If you set this property to true, the client-side scripting is disabled, and Spread does not update the models, even if the IsTrackingViewState property is set to true. You then have to handle editing events as necessary.

Set this property to false to have Spread draw the renderers for cells that are not in edit mode, and draw the editors for cells that are in edit mode.

Example

This example shows how to use the RenderEditors property.
C#Copy Code
FarPoint.Web.Spread.SheetViewsv=FpSpread1.ActiveSheetView;
sv.DefaultStyle.CellType=newFarPoint.Web.Spread.GeneralCellType();
sv.RenderEditors=true;
Visual BasicCopy Code
DimsvAsFarPoint.Web.Spread.SheetView
sv=FpSpread1.ActiveSheetView
sv.DefaultStyle.CellType=NewFarPoint.Web.Spread.GeneralCellType()
sv.RenderEditors=True

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.