MultiHeader(include #cspan) and setHeader() with CSS style

When using setHeader() and trying to set the CSS style to the columns after
the ones with #cspan set, the target to set the CSS style for will be shifted.

[code]

Sample
[/code]

i tried to create a patch file, but i couldn’t attach the file…
so, describing the content of the file.

diff --git a/dhtmlxGrid/codebase/dhtmlxgrid.js b/dhtmlxGrid/codebase/dhtmlxgrid.js
index e49dc0e..6b3249a 100644
--- a/dhtmlxGrid/codebase/dhtmlxgrid.js
+++ b/dhtmlxGrid/codebase/dhtmlxgrid.js
@@ -2296,8 +2296,8 @@
 			hdrHTML+="</div>";
 			z.cells[col].innerHTML=hdrHTML;
 			
-			if (this._hstyles[col])
-				z.cells[col].style.cssText=this._hstyles[col];
+			if (this._hstyles[c])
+				z.cells[col].style.cssText=this._hstyles[c];
 		} else { //if images in header header
 			z.cells[col].style.textAlign="left";
 			z.cells[col].innerHTML="<img src='"+label+"'>";

Hi,

Yes you are right. We will include the same fix in the next update.
Thanks.

Thank you for your reply.

I’m looking forward to it.
Thanks a lot.