WPBakery Visual Composer has become a certain “standard” in WordPress society: it is a powerful, but very easy to use drag&drop page builder that allows you to change standard page layouts, and use without any coding or even shortcodes different elements such as accordions, buttons, multi-column blocks, headlines, message boxes, pie charts, and many many more different useful UI elements not available in WordPress by default. Visual Composer is bundled in most of modern themes on Themeforest, and even this site is built with this mighty tool.
wpDataTables also implements integration with visual composer. You can insert tables and charts that you created using Visual Composer interface. The only thing to note here is that you should build your tables before (from data source or using the Table constructor) before inserting these in the page that you create with Visual Composer.
If you open the Visual Composer back-end editor after wpDataTables installation you will see two new buttons in the “Add element” Visual Composer popup:
If you click the “wpDataTable” button, you will see a table configuration popup with two tabs. First tab contains a dropdown with the list of the wpDataTables that you previously created:
Second tab contains three inputs where you can configure variable placeholders for your table:
Please refer to this documentation section to see what placeholders are and how they work.
When you choose the table and optionally define some values for placeholders, you can click the “Save changes” button and Visual Composer will store the data. You can see the wpDataTable block, and the name of wpDataTable that was chosen on previous step:
You can insert the table inside another Visual Composer element: column, tab, accordion, etc.
If you click the “wpDataChart” button you will see the popup with a list of charts that you created (using the Chart Creation wizard):
You can choose the chart and when you click “Save changes” it will be inserted in your page. You can insert the charts in other Visual Composer elements, e.g. row columns, tabs, etc.:
When you save the page the wpDataTables and wpDataCharts are inserted as you configured in the Visual Composer:
- Creating editable tables and filling the table data manually from Table Constructor
- Creating non-editable tables from Excel files (Add from Data Source)
- Creating non-editable tables from Google Spreadsheets (Add from Data Source)
- Responsive design
- Conditional formatting
- Sorting tables
- Per-column filtering
- Pre-filter tables through URL
- Row grouping
- Using Placeholders – Adjusting MySQL queries dynamically based on shortcode attributes
- Calculating totals (sum row)
- Table layout and word wrap
- Table data export tools