meteor-tabular icon indicating copy to clipboard operation
meteor-tabular copied to clipboard

How to get ALL published ids on the server for a custom export method

Open anthonymanzo opened this issue 8 years ago • 1 comments

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 avatar Aug 16 '17 16:08 anthonymanzo

@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!

smohantyCME avatar Apr 16 '21 13:04 smohantyCME