meteor-tabular
meteor-tabular copied to clipboard
How to get ALL published ids on the server for a custom export method
Hi,
I am trying to make the full (all pages) results set as it appears in my datatable available as an export through a server method.
Instead of trying to reproduce how you've implemented the search , I'd like to just get the list of _ids that the full tabular publication is using.
I know full exports aren't possible with the 'buttons' mod, so I'm hoping to do something like this on my client:
Meteor.call('exportCsv',{collectionName:'People',datatableName:'Directory'});
Any help is appreciated.
Thanks!
@anthonymanzo Did you ever find a workaround for this? All I want to do is export ALL rows when user clicks csv/excel Button. But - I do not want the pagination on the table to change to ALL either. I'm trying to not use a hacky approach. Thanks!