koalyptus / TableFilter

A Javascript library making HTML tables filterable and a bit more :)

Home Page:https://www.tablefilter.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting data as array from filtered table

jacky4566 opened this issue · comments

Enhancement/feature description
I would like my users to be able to download the filtered data as a CSV file. How can I get the data from the filtered table as an array for download queuing?

Steps which explain the enhancement/feature

  1. New function which returns array of elements from user filtered table

Current and suggested behavior
New Feature

Why would the enhancement be useful to most users
Surely this must be a requested feature already? This would allow data to be used in other parts of the page. Would also be useful for filtering points on a google map.

Screenshots and GIFs
None.

Additional context

Describe alternatives you've considered
Current implementation involves user filtering before table generation.

TableFilter Version: Unsure, latest
Browser and version: All
OS and version: All
Device: All

Never mind I found the API I wanted.
getFilteredData()