mygrid.setHeader(“Ten Stat,Employee’s Name,SSN,Rank/Title, Code,Contract Period,Pos. No, Annual Base Salary,#cspan”);
you have 9 columns
in:
2) mygrid.attachHeader(["#rspan","#rspan","#rspan","#rspan","#rspan","#rspan","#rspan",“The Subhead”,“Other Subhead”,“Total”]);
you have 10 columns
and in:
3) mygrid.setInitWidths(“50,150,80,150,50,62,50,300”);
only 8 columns (as a result last 2 of ten columns (see1) will have the width to “0”))
Please correct the number of the columns in each method to the needed. If you still have any issue provide a scheme of needed construction.
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan