Required library edition:
Required library file: dhtmlxgrid.js
set header label and default params for new headers
//setting columns labels mygrid.setHeader("A,B,C"); //setting columns labels and it's styles mygrid.setHeader("A,B,C",null,["text-align:right;","text-align:left;","text-align:center"]);
See also: setNoHeader, attachHeader, setColumnLabel