migration recipe from 1.x to 2.x?
migration recipe from 1.x to 2.x?
in DataTables 2
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
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 newlayoutoption which is preferred overdomnow.domwill still work, but the styling is focused onlayout, so if you usedom, you might need to add a few lines of CSS.Allan
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?
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