sets the header label and default params for new headers
hdrStr | string | a header string with delimiters |
splitSign | string | a string used as a split marker, optional. Default is "#cspan" |
styles | array | an array of header styles |
// setting columns' labels
mygrid.setHeader("A,B,C");
// setting columns' labels and their styles
mygrid.setHeader(
"A,B,C",
null,
["text-align:right;","text-align:left;","text-align:center"]
);
Back to top