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

Multi filter query #17

Closed Yogeshpatel2014 closed 9 years ago

Yogeshpatel2014 commented 9 years ago

Can you explain me how to implement of multi filter,

As you mention of single filter, but we required multi filter base on category, price, rating, and extra text box to find. var options = { view: view,
data_url: 'data/data.json', stream_after: 1,
auto_sorting: true, //Default is false fetch_data_limit: 500, pagination:{ span: 5,
next_text: 'Next →',
prev_text: '← Previous', container_class: '.users-pagination', ul_class: '.larger-pagination',
per_page_select: true,
per_page_opts: [10,25,50],
per_page_class: '.select-box',
per_page: 20
}, search_box: '#my-searchbox', fields: ['id', 'name'] //Or [1,2] index of array. }

jiren commented 9 years ago

You can use filter.js for multiple filter criteria.

Yogeshpatel2014 commented 9 years ago

But pagination not available in filter.js