Spread ASP.NET 14
Spread for ASP.NET 14 Product Documentation / Client-Side Scripting Reference / Scripting Members / Methods / Columns
In This Topic
    Columns
    In This Topic

    Represents a column on the client side and can be used to set or return the width of a column.

    Syntax

    [JavaScript]

    FpSpread1.Columns(c);

    Parameters

    column
    Integer, column index

    Return Type

    None

    Remarks

    This method can be used to set the width in pixels.

    Example

    This is a sample that contains the method. On the client side, the script that contains the method would look like this:

    JavaScript
    Copy Code
    <script type="text/javascript">
      function setWidth() {
        FpSpread1.Columns(3) = 10; // sets the size
      }
    </script>
    
    See Also