migration recipe from 1.x to 2.x?

migration recipe from 1.x to 2.x?

loukinglouking Posts: 267Questions: 54Answers: 0

I haven't tried to migrate yet because I have a lot of code and it sounds daunting. I have both datatabases and editor. I see you're working on release 3 now, and I don't want to be further behind...

Is there a recipe somewhere for the migration requirements?

This question has accepted answers - jump to:

Answers

  • allanallan Posts: 65,673Questions: 1Answers: 10,923 Site admin
    Answer ✓

    Hi,

    Upgrade notes for v1 to v2 are here.

    As long as you weren't using the legacy API (i.e. function names starting with fn) then the upgrade should be fairly painless. The biggest change you are likely to notice is the new layout option which is preferred over dom now. dom will still work, but the styling is focused on layout, so if you use dom, you might need to add a few lines of CSS.

    Allan

  • loukinglouking Posts: 267Questions: 54Answers: 0

    I am finally getting to this. I am trying to use the downloader from https://datatables.net/download/. This used to give the option of getting separate files or a combined file, but I'm only seeing the combined file now. Is it still possible to get the separate files?

  • allanallan Posts: 65,673Questions: 1Answers: 10,923 Site admin
    Answer ✓

    There isn't that option any more I'm afraid. It was always a bit of a bug that - an artifact of how the main file was put together, I just left the individual files on the zip. It caused a number of questions because of the duplication - folks including the main file and the individual files, or not such which to include. So I zapped the individual ones.

    If you want the individual files, choose the CDN option and uncheck the Concatenate option. Then just download the files needed.

    Let me know how you get on with the update.

    Allan

Sign In or Register to comment.