Spread for ASP.NET 7.0 Product Documentation
RenderEditors Property
See Also  Example Support Options
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.SheetView sv=FpSpread1.ActiveSheetView;
sv.DefaultStyle.CellType=new FarPoint.Web.Spread.GeneralCellType();
sv.RenderEditors=true;
Visual BasicCopy Code
Dim sv As FarPoint.Web.Spread.SheetView
sv=FpSpread1.ActiveSheetView
sv.DefaultStyle.CellType=NewFarPoint.Web.Spread.GeneralCellType()
sv.RenderEditors=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.