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


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.
    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
    See Also