attaches an additional line to the header
values | array | array of header titles |
style | array | array of styles, optional |
//plain usage
myGrid.attachHeader("A,B,C,D");
//alternative syntax
myGrid.attachHeader(["A","B","C","D"])
//colspans in header
myGrid.attachHeader("A,#cspan,C,#cspan");
//rowspans in header
myGrid.attachHeader("A,#rspan,C,#rspan");
//styles assigned
myGrid.attachHeader("A,B,C,D",["","color:red;","",""]);
Back to top