Categories | Question details Back To List | ||
Initializing from HTML Table & Column Spanning I have an enterprise license and basically I want a multicolumn header initialized from an HTML table. I can't just attach headers as I would like to have the spanning columns above the column names. If I use an html table inside this row, it won't line up correctly with the data. I want headers something like this: | q | w | | a | b | |c | d| e | f | 1. Is there a way to tell DHTMLX to use more then one row as a header via an html table? 2. Can I overwrite the spans of an existing header? 3. Why can't I detach a header from a table initialized via html? 4. Is there a way to tell DHTMLX to have headers span columns via an html table? 5. What other functionality (ie split columns) doesn't work when initializing from an html table? Thanks, Answer posted by Support on Dec 12, 2007 05:40 There is no way to add few lines from table as header of grid, but you still can create the necessary header , just have for first line of header something similar to next <table name="mygrid" oninit="add_more();"... <tr> <td>q</td><td>#cspan</td><td>w</td><td>#cspan</td> and later add two addtional function add_more(){ mygrid.attachHeader("a,#cspan,b,#cspan"); mygrid.attachHeader("c,d,e,f"); } |