Sample: dhtmlxGrid | Multirow header | dhtmlxGrid main page |
Setting multirow header with script
//add second row to header mygrid.attachHeader("#rspan,Title,Author,#rspan,#rspan,#rspan,Bestseller,Published"); mygrid.setSizes(); //#rspan - include cell in rowspan //#cspan - include cell in colspan
... <head> <beforeInit> <call command="attachHeader"> <param>#rspan,Title,Author,#rspan,#rspan,#rspan,Bestseller,Published</param> </call> </beforeInit> ...
© DHTMLX LTD. All rights reserved |