Categories | Question details Back To List | ||
insertColumn in dhtmlxgrid when multi line headers exist fails There appears to be a bug in dhtmlxgrid (version 1.6 enterprise). If I have a grid with a 2 line header. I call setHeader and then attachHeader, a call to insertColumn then throws an error in the javascript. To reproduce the error, take the sample file pro_grid_cols.html from the htmlxgrid samples (in rows_columns_manipulation dir) and add the following line mygrid.attachHeader("#rspan,Blue,#cspan,#rspan,#rspan,#rspan,#rspan,#rspan"); either before or after the mygrid.init(). When you then try to add a new column with index of 2 or more, then an error occurs. Answer posted by Support on Aug 07, 2008 07:03 Problem confirmed and fixed , fixed js file sent by email. By the way , you can't insert new column at position 2 , becuase this column already is a part of colspan Answer posted by Alan Byrne on Aug 11, 2008 01:16 Many thanks for the patch file and prompt response. This has fixed the problem. |