Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Model Namespace / DefaultSheetDataModel Class / IsEditable Method
Row index of the cell
Column index of the cell
Example


In This Topic
    IsEditable Method (DefaultSheetDataModel)
    In This Topic
    Determines whether the value in the cell of the specified row and column can be edited.
    Syntax
    'Declaration
     
    
    Public Overrides Function IsEditable( _
       ByVal row As Integer, _
       ByVal column As Integer _
    ) As Boolean
    'Usage
     
    
    Dim instance As DefaultSheetDataModel
    Dim row As Integer
    Dim column As Integer
    Dim value As Boolean
     
    value = instance.IsEditable(row, column)
    public override bool IsEditable( 
       int row,
       int column
    )

    Parameters

    row
    Row index of the cell
    column
    Column index of the cell

    Return Value

    true if the cell contents can be edited; false otherwise
    Remarks
    To check if a cell is empty, use the IsEmpty method.
    Example
    This example binds the DefaultSheetDataModel to a DataTable and the values of the IsColumnBound, IsEditable, IsEmpty and IsRowUsed are returned to a list box.
    See Also