dhtmlxSpreadsheet set column width and number of columns

Hi,

AM new to dhtmlxSpreadsheet, how can i set the column width and number of columns on javascript.

Thx.

Ndegwa | Kenya

Number of columns - click settings icon in right column
Size of column - you can drag-resize borders of columns in header

Thx for the reply,

Their is no way we can set the column width in code?

Nope, but after configuring once, width saved in the database. So the next time when the same spreadsheet will be loaded - it will show the previously set column width.

if you are using spreadsheet in readonly mode, it will load previously saved column widths but will not save any further modifications