spltAt() not working with header colspan and rowspan

Hi,



I have a grid that looks as follows before splitAt():



----------------------------------------------------------------------------------------------------------------------------------------

| | Module |Col7 | | | | | | |

| |---------------------------------------------------|-----------------------------------------------------------

| |Activity | | | | | | | |

| |---------------------------------------------------|-----------------------------------------------------------

|Person |Assessment | | | | | | | |

| |---------------------------------------------------|-----------------------------------------------------------

| |Date | | | | | | | |

| |---------------------------------------------------|-----------------------------------------------------------

| | Tota | % |Weight |Code |Code | | | | | | | |

| |---------------------------------------------------------------------------------------------------------------

| | | 100 |120 |1-4 |1-10 | | | | | | | |

----------------------------------------------------------------------------------------------------------------------------------------

| | | | | | | | | | | | | |

----------------------------------------------------------------------------------------------------------------------------------------

| | | | | | | | | | | | | |

----------------------------------------------------------------------------------------------------------------------------------------

| | | | | | | | | | | | | |

----------------------------------------------------------------------------------------------------------------------------------------

| | | | | | | | | | | | | |

----------------------------------------------------------------------------------------------------------------------------------------



after doing a splitAt(6) after the grid init() command the grid splits at the 7th column, but the second column then looks as follows:



----------------------------------------------------------------------------------------------------------------------------------------

| | |Col7 | | | | | | |

| | |-----------------------------------------------------------

| | | | | | | | | |

| | |-----------------------------------------------------------

|Person | Module | | | | | | | |

| | |-----------------------------------------------------------

| | | | | | | | | |

| | |-----------------------------------------------------------

| | | | | | | | | |

| | ------------------------------------------------------------

| | | | | | | | | |

----------------------------------------------------------------------------------------------------------------------------------------

| | | | | | | | | | | | | |

----------------------------------------------------------------------------------------------------------------------------------------

| | | | | | | | | | | | | |

----------------------------------------------------------------------------------------------------------------------------------------

| | | | | | | | | | | | | |

----------------------------------------------------------------------------------------------------------------------------------------

| | | | | | | | | | | | | |

----------------------------------------------------------------------------------------------------------------------------------------





As you can see, after the splitAt(6) is executed column 2’s topmost row (the one contain “Module” as header text) seems to do a rowspan! Why is this and how can one address this problem?



Rgds

Brian







Actually the split not work with complex rowspan|colspan schemes , but in your case ( if I undestood scheme correctly ) - it must work correctly.

Please check your order of commands , it must be similar to next

grid = new…

grid.setHeader(…
grid.attachHeader(…
grid.attachHeader(…
grid.attachHeader(…
grid.init();
grid.splitAt(6);

grid.loadXML(…


If you have correct order of commands and it still work incorrectly - please send any kind of sample ( full js initialization code will be enough ) to support@dhtmlx.com