The Dreamweaver JavaScript API > Layout view functions > dom.setColumnAutostretch() |
Availability
Dreamweaver 4.0
Description
Switches a column between automatically sized or fixed width. If bAutostretch is true, the column at the given index in the currently selected table is set to "autostretch"; otherwise it's set to a fixed width at its current rendered width. This function fails if the current selection isn't a table or if the operation wasn't successful.
Arguments
colNum, bAutostretch
colNum is the column to be sized automatically or a fixed width. |
|
bAutostretch indicates if the column is set to "autostretch" (true) or a fixed width (false). |
Returns
Nothing.