Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- var Tabulator = require('tabulator-tables');
- $("#download_csv").click(function () {
- var table = new Tabulator("#extable", {
- });
- table.download("csv", "data.csv");
- });
- </script>
- var extable = new Tabulator("#extable", {
- pagination: "local",
- paginationSize: 15,
- layout: layoutPlan,
- resizableColumns: true,
- tooltips: true,
- selectable: true,
- tooltipsHeader: true,
- groupToggleElement: "header",
- groupBy: t_groupBy,
- initialSort: t_initialSort,
- groupClosedShowCalcs: true,
- columns: t_columns,
- paginationSizeSelector:[15, 25, 50, 100]
- });
- extable.setData(report_results);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement