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