Spread ASP.NET 14
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / SheetView Class / RenderEditors Property

In This Topic
    RenderEditors Property
    In This Topic
    Gets or sets whether the FarPoint Spread always displays the editor if the editor is defined for a cell.
    Public Property RenderEditors As Boolean
    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

    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.

    This example shows how to use the RenderEditors property.
    FarPoint.Web.Spread.SheetView sv=FpSpread1.ActiveSheetView;
    sv.DefaultStyle.CellType=new FarPoint.Web.Spread.GeneralCellType();
    Dim sv As FarPoint.Web.Spread.SheetView
    sv.DefaultStyle.CellType=New FarPoint.Web.Spread.GeneralCellType()
    See Also