DataTables 2!

DataTables 2!

allanallan Posts: 63,676Questions: 1Answers: 10,497 Site admin

DataTables 2 is now available! It has been a long road, with some aspects starting back in 2018, but it is now generally available on the DataTables download builder and NPM. (It has actually been available for a little of a month before this post was written - but I've finally written up all the release notes for it now).

There are several pieces of documentation for 2.0:

I hope you enjoy using DataTables! If so, I would encourage you to support my work on the project by purchasing Editor if it can help your work, or a supporter package.

Please don't use this thread to report issues / bugs. Open a new thread with a link to a test case showing the problem, so I can track each issue individually.

All the best,
Allan

Replies

  • tacman1123tacman1123 Posts: 207Questions: 46Answers: 1
    edited March 21

    Congrats!! Very excited to learn 'layout', as the 'dom' element was always a bit of a mystery.

    And this! https://datatables.net/upgrade/2#Documentation vanilla javascript, instead of jQuery!

  • mrsearing-allmrsearing-all Posts: 10Questions: 3Answers: 0

    For the next version, is it possible to include a center option for the layout feature (e.g. topCenter, bottomCenter)? Our company uses DataTables with Editor extensively and although CSS formatting almost provides the look we want, having a dedicated center option for layout would greatly improve the appearance.

  • allanallan Posts: 63,676Questions: 1Answers: 10,497 Site admin

    @mrsearing-all Apologies for the delay in replying! There won't be a Centre position option (since that could be expanded ad infinitum) but 2.1 will have equal spacing between items on the same full row. So for example:

    top: [
      'info',
      'buttons',
      'search'
    ]
    

    would do what you are looking for.

    2.1 should drop tomorrow :)

    Allan

Sign In or Register to comment.