Rowspan - Undo rowspan grid problem

Hi,

I’m using version 2.5 pro and I have a little problem with rowspan.

My porblem occurs when I’m undoing a rowspan set on the last column of a grid.
This problem doesn’t occur when it’s on any other column.

The rows are span:

When unspanning the rows by using setRowSpan(rowid, columnId, 1) I got this result:

Any Ideas why the table is not drawn correctly ?

Thanks in advance.
Ben

I fixed the porblem.

It’s in dhmtlxgrid_rowspan.js

dhtmlXGridObject.prototype.setRowspan=function(rowID,colInd,length){

This code :

if (tc)
  tc.parentNode.insertBefore(ti,tc);
else
   ur.parentNode.appendChild(ti);

should be this:

if (tc)
  tc.parentNode.insertBefore(ti,tc);
else
   ur.appendChild(ti);

i got the same problem. Thanks for the solution