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> |