bootstrap-table
bootstrap-table copied to clipboard
Show all except this
Description
Hi Devs,
Hope your doing ok, How can I filter to show all title data except for Senior and show all department data except Dep 04
Result should be, Row 3 and 4 should hide
Thank you
Example(s)
https://live.bootstrap-table.com/code/dharen008/12730
Yes, you can use filterBy method
can you give me an example? i can only see the filterAlgorithm ( or, and, custom). if i use custom what approuch should i do? please advice it will be helpful to others as well. thank you
@dharen008 Have you solved your problem?
@wenzhixin not yet sir. is there a better approuch on this?
here's my sample: https://live.bootstrap-table.com/code/dharen008/12730
if you select a filter data it will append to show your all selected filter and if you click again (it will add class and have bg red) the function should be, this filtered data should show all except this data

anyone can help me with this? thank you