Amy Slagle

Results 163 comments of Amy Slagle

An external API is a great idea but I don't have time to do it. I'd probably prefer something more along the lines of creating a ReactiveTable object you can...

So you're not using the fields setting? If you don't specify fields, it will take one element and use its keys (probably always the first for arrays but I'd have...

Did you use fieldIds when you tried the dynamic list? Without that the columns won't be reactive. https://github.com/aslagle/reactive-table#dynamic-columns

Hi, I'm glad you like the package! You could try the option `showNavigation: "auto"` that will hide the pagination at the bottom if the total records count is less than...

The problem is that bootstrap's table-responsive class is supposed to go on a div that wraps the table element, and the class option will put it on the table element...

You can use ReactiveVars to control rowsPerPage and currentPage, see https://github.com/aslagle/reactive-table#accessing-and-controlling-table-state. Then set showNavigation: 'never' in the table and have your dropdown and page buttons set the ReactiveVars.

You need to use Template.instance().teamsrowsperpage, without .get(). get will give the table a single value instead of the reactive var.

Make sure you're setting it to an integer, if you're getting a string from the dropdown you may need to use parseInt.

No, it does the subscription for you. If the table showed up with pages before you changed the dropdown and after you changed it you got page 1 of 0,...

Sorry - your code looks fine but I think there must be a bug in the package where it doesn't update the subscription when the vars change. I hadn't done...