Spread ASP.NET 18
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Model Namespace / DefaultSheetDataModel Class / AddColumn Method / AddColumn() Method
Example


In This Topic
    AddColumn() Method
    In This Topic
    Adds a column to the data model after the last column.
    Syntax
    'Declaration
     
    
    Public Overloads Sub AddColumn() 
    'Usage
     
    
    Dim instance As DefaultSheetDataModel
     
    instance.AddColumn()
    public void AddColumn()
    Remarks

    If you want to add more than one column, use the AddColumns method.

    This method does not have an effect if the model is data bound.

    Example
    This example adds a new column to the model in the click event of a button.
    See Also