Spread for ASP.NET 7.0 Product Documentation
Columns
See Also Support Options
Spread for ASP.NET 7.0 Product Documentation > Client-Side Scripting Reference > Scripting Members > Methods > Columns

Glossary Item Box

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>
  function setWidth() {
    FpSpread1.Columns(3) = 10; // sets the size
  }
</SCRIPT>

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.