I'm using the DataTable plugin ( link ). You need to make the export buttons to be subitems, where there will be an export icon and clicking this will list (below) the options (CSV, PRINT, XLS).
The code I'm using is below but the subitems do not work, but the main button does.
$scope.dtOptions = DTOptionsBuilder.newOptions()
.withDOM('<"html5buttons"B>lTfgitp')
.withButtons([
'copy',
'print',
{'sExtends': 'collection',
'sButtonText': 'Save',
'aButtons': ['csv', 'xls', 'pdf']
}
])
.withOption('info',false)
.withOption('lengthChange',false);
}
Thanks in advance for the help.