Releases: aslagle/reactive-table
Fix rendering inside a context containing 'fields'
The previous release fixed rendering the table in another context, but there was still an error when rendering in a context containing a 'fields' key.
Fix rendering inside another context
This release fixes a bug introduced in 0.5.3 that caused errors when rendering a reactiveTable that wasn't at the top level of the template's data context.
Fix conflict with 'fields' key
This release fixes a bug where table rows would be hidden when they contained a field named 'fields'. (#120)
Update deprecated template helper assignment
This gets rid of the warning "Assigning helper with 'Template.reactiveTable.getPageCount = ...' is deprecated."
Route-switching bug fix
This is a possible fix for #116 introduced in v0.5.0.
State in template instance instead of session, argument flexibility
There are two substantial changes in this release:
- The package no longer stores state in Session variables. Everything is stored in the template instance data. As far as I know, the only functional difference is that table state will no longer persist across hot code pushes.
- All settings can now be passed to the table either as separate named arguments, or as part of the settings object argument.
In addition, there is a new setting for the id of the table element, and the 'group' setting for sharing state between tables is gone. Everything else should be backwards-compatible.
Please report any problems in the github issues.
Filtering number fields
Numbers entered in the filter box will now match numerical fields as well as strings.
Hide rows per page only
This release adds a 'showNavigationRowsPerPage' option to hide the rows per page control while still showing pagination controls (all navigation can still be hidden with 'showNavigation').
Style improvements: class argument, filter input spacing
This release adds a class
argument to control the classes on the table element. The table will have the class 'reactive-table' and either the contents of the class argument or "table table-striped table-hover" if no class is specified. Note that class
is a separate argument to the template, not part of the settings
argument.
The filter input is also now in a form group, which adds spacing between the input and the table.
See #109