splitAt() with dynamic xml

Hi!

I have a problem with splitAt() function with dynamic xml.
When you init grid first time and apply splitAt everythig is ok, but when I load xml for the second time there is a problem with splitAt function and grid layout isn’t appropriate.
Should I detroy grid everytime?

Thanks for your exeprience.

Asia

but when I load xml for the second time
How are you loading xml for the second time? Are you using dynamic loading or reloading grid structure?
After applying of the split mode to the grid, it is not possible to recreate the grid structure (reload the grid with a different structure). Such grid can be only destructed.
docs.dhtmlx.com/doku.php?id=dhtm … lit_mode&s[]=split

I load configuration from xml where I have such statemnet:

3

But it is ok when you load grid for the first time. After changing selection and reloading grid the mistakes occurs.
I supposse I should destroy grid, I tried to do this, but it didn’t work.

If you are using dynamic loading, second request should not contains part.

To destroy grid completely you can use destructor() method