I have a data-table with value in one column like $0.00, $2,000.00 and so on. How i will do the range filtering for this. Like filter all records between $0.00 to $1,000.00.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
You can use my Yet Another DataTables Column Filter (Yadcf) plugin
Take a look at the example, in short all you need it to use filter_type: "range_number"
for your column.
Take a look at the examples and the docs in the jquery.dataTables.yadcf.js file
标签:
datatables