Spread for ASP.NET 9.0 Product Documentation > Client-Side Scripting Reference > Scripting Members > Methods > Columns |
Represents a column on the client side and can be used to set or return the width of a column.
[JavaScript]
FpSpread1.Columns(c);
None
This method can be used to set the width in pixels.
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> |