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

Access to filtered entries #330

Closed
totycro opened this issue Mar 12, 2015 · 1 comment
Closed

Access to filtered entries #330

totycro opened this issue Mar 12, 2015 · 1 comment

Comments

@totycro
Copy link

totycro commented Mar 12, 2015

I would like to show the number of entries filtered by st-search along the lines of this:

<table st-table="entries_displayed" st-safe-src="entries">
    ...  <input st-search=""/> ...
    ...  <th> Showing {{ entries_filtered.length }} entries </th> ...
</table>

According to a stackoverflow post, this is currently not possible: http://stackoverflow.com/questions/28985412/show-number-of-filtered-entries-in-smarttable#comment46219934_28985412

In the code, filtered in pipe() would contain the right data. Would it be possible to make it accessible somehow? It would make st-table a lot more flexible.

@lorenzofox3
Copy link
Owner

#327

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

No branches or pull requests

2 participants