bootstrap-table icon indicating copy to clipboard operation
bootstrap-table copied to clipboard

Show all except this

Open dharen008 opened this issue 3 years ago • 6 comments

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

dharen008 avatar Sep 14 '22 16:09 dharen008

Yes, you can use filterBy method

djhvscf avatar Sep 22 '22 21:09 djhvscf

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 avatar Sep 23 '22 01:09 dharen008

@dharen008 Have you solved your problem?

wenzhixin avatar Sep 28 '22 01:09 wenzhixin

@wenzhixin not yet sir. is there a better approuch on this?

dharen008 avatar Sep 28 '22 06:09 dharen008

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

image

dharen008 avatar Sep 28 '22 14:09 dharen008

anyone can help me with this? thank you

dharen008 avatar Dec 06 '22 16:12 dharen008