Required library edition:
Required library file: dhtmlxgrid_mcol.js
adds new column to the grid. Can be used after grid was initialized. At least one column should be in grid
ind - index of column
header - header content of column (optional, blank by default)
type - type of column (optional, 'ed' by default)
width - width of column (optional, '100' by default)
sort - sort type of column (optional, 'na' by default)
align - align of column (optional, 'left' by default)
valign - vertical align of column (optional)
reserved - not used for now
columnColor - background color of column (optional)
//minimal parameters set
mygrid.insertColumn(10);
//maximal parameters set
mygrid.insertColumn(11,'Some text','ed',120,'na','left','top',null,'red')
See also: deleteColumn