Editor provides built in support for the three basic buttons needed in an editable DataTable: Create, Edit and Delete. One further action that is particularly useful is the ability to create a new record using the values from an existing row in the table as the default values - i.e. a duplicate button. This can facilitate fast data entry when working with data that has common information; for example entering information from a monthly invoice into a payments database or tracking a team's score through season.
Although there isn't a built in duplicate button type in Editor, this blog post will show how that functionality can be performed very easily with the Editor API, using a TableTools button to provide the user interaction and finally creating a reusable button plug-in for TableTools that can be used in any of your tables with the addition of a single line of code.
The results of the information presented in this post can be see in the duplicate button example on the Editor site.
When building a modern web-site you will typically use a responsive design. The advantages of doing so are clear; one site that works on all devices regardless of screen size means much lower maintenance costs and an improved experience for your customers. Even better is that responsive design is built into the core of most ready-rolled CSS frameworks, such as Bootstrap and Foundation, so you can get the benefits with minimal development effort.
While the frameworks handle responsive layout for content extremely well, they don't really handle responsive tables . This is where Responsive for DataTables comes in - it uses DataTables' built in column visibility APIs to optimise the layout of the table for the screen size that the table is being viewed on.
I'm delighted to announce the release of both DataTables 1.10.1 and Editor 1.3.2. In addition to these releases all DataTables extensions have also been updated and released. The current releases for all DataTables software is:
These releases are all minor bug fix releases that resolve some issues that have been brought to light recently.