vulture icon indicating copy to clipboard operation
vulture copied to clipboard

Make dynatable searches stackable

Open jfoote opened this issue 11 years ago • 1 comments

Need to be able to search by column, and to combine (or stack) multiple searches

jfoote avatar Jun 02 '14 16:06 jfoote

This is do-able, see: https://www.dynatable.com/#querying

Basically one can add more searches by creating HTML elements and then, via JS/jQuery, assign their change (or submit) callbacks to add (key, val) pairs to the dynatables 'queries' attribute. The 'key' is the field to filter on, and the 'val' is the filter value. Should be able to expand on this to dynamically add (and remove) more search terms across all fields pretty easily; should also be able to use a combo box for each search input field to allow the user to select the column (or 'all') for each search.

jfoote avatar Jun 03 '14 12:06 jfoote