You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a complex filter that cannot be integrated in headers. Instead the mediator switch the table to another component containing the filter (in the same page via iron-pages or neon-animated-pages), but when this custom/complex filter results in no results (after applying dynamic server request), the [no-result] is never shown.
The problem is that table is taking into account filterCount when there is no any filter:
The solution would be to check if there is some filter configured in the table not just check the key/value pairs in filter property. Maybe just include a boolean property to inform table the filter is external...
The text was updated successfully, but these errors were encountered:
Actually this can be reached by re-implementing external dataSource, which was possible to use in iron-data-table, from where I grabbed most of initial code for this element.
I'm going to have a quick look at this tonight and to provide a branch from where you could start experimenting with external dataSource. This should make external sorting easier as well.
UPD: I started playing with dataSource, but the code is not ready yet. Hope I will be able to provide an example later on this week, there are some things to refactor for using external data source.
I have a complex filter that cannot be integrated in headers. Instead the mediator switch the table to another component containing the filter (in the same page via iron-pages or neon-animated-pages), but when this custom/complex filter results in no results (after applying dynamic server request), the [no-result] is never shown.
The problem is that table is taking into account filterCount when there is no any filter:
The solution would be to check if there is some filter configured in the table not just check the key/value pairs in filter property. Maybe just include a boolean property to inform table the filter is external...
The text was updated successfully, but these errors were encountered: