Spread for ASP.NET 9.0 Product Documentation
RenderEditors Property
Example 


Gets or sets whether the FarPoint Spread always displays the editor if the editor is defined for a cell.
Syntax
'Declaration
 
Public Property RenderEditors As Boolean
'Usage
 
Dim instance As SheetView
Dim value As Boolean
 
instance.RenderEditors = value
 
value = instance.RenderEditors
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.
FarPoint.Web.Spread.SheetView sv=FpSpread1.ActiveSheetView;
sv.DefaultStyle.CellType=new FarPoint.Web.Spread.GeneralCellType();
sv.RenderEditors=true;
Dim sv As FarPoint.Web.Spread.SheetView
sv=FpSpread1.ActiveSheetView
sv.DefaultStyle.CellType=New FarPoint.Web.Spread.GeneralCellType()
sv.RenderEditors=True
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
IsTrackingViewState Property

 

 


Copyright © GrapeCity, inc. All rights reserved.