EloquentStudio / StreamTable.js

StreamTable.js streams data for tables in the background, updates and renders them using templating frameworks like Mustache.js, HandleBars.js
http://eloquentstudio.github.io/StreamTable.js/stream.html
MIT License
386 stars 77 forks source link

Multiple fiilter in StreamTable #16

Closed paghdalyogesh closed 9 years ago

paghdalyogesh commented 9 years ago

Hi Jiren,

I am happy with your code. but i am fetching one problem, can you help me.

Can you explain me how to implement of multi filter in search_box using different id to call.

st = StreamTable('#stream_table', { view: view, per_page: 10, data_url: 'data/movies.json', stream_after: 0.5, auto_sorting: true, fetch_data_limit: 100, callbacks: callbacks, pagination: {span: 5, next_text: 'Next →', prev_text: '← Previous'}, search_box: '#st_actor', fields: ['actor'], search_box: '#st_search', fields: ['year', 'name'] } , data); });

jiren commented 9 years ago

Right now functionality to handle multiple filter is not available.

You mentions following code. This will search into only two fields year and name.

fields: ['year', 'name']
paghdalyogesh commented 9 years ago

Can you explain me How to implement of functionality of multi filter.