Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable paging on reactive query example return no records #42

Open
eiktyrner opened this issue Jun 17, 2014 · 1 comment
Open

Disable paging on reactive query example return no records #42

eiktyrner opened this issue Jun 17, 2014 · 1 comment
Labels

Comments

@eiktyrner
Copy link

I'm trying to disable paging on the Reactive Query example. It works fine on the Blaze Templates example so I'm guessing it has something to do with the data source?

Using the bundled example with only a small modification (200 rows instead of 100k)
Disabled paging by doing the following modification in example.controller.coffee

options:
  paging: false

Shows: Showing 1 to 0 of 200 entries

Is that not the correct way to disable paging?

@gjolund
Copy link
Contributor

gjolund commented Jun 26, 2014

Are you receiving any errors in the console?

By default datatables imposes a limit of 10 documents that will be retrieved from the server, so you will also want to update the displayLength option to reflect a more appropriate maximum page length.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants