Coder Social home page Coder Social logo

Comments (18)

dharen008 avatar dharen008 commented on June 27, 2024 1

Hi customer service,

Happy Friday!
I don't know if this is a bug or can you let me know what is wrong with my code

so all of the things we discus above is already implemented here, but if you look at the toolbar filter container, I've added the data-search-formatter="false" and data-filter-control="select" to filter out the things only the things inside that table.

if you can see it, the select option value is correct it did not include the formatter. but the select option text is still include the formatter. do i need to do something?

Please let me know your thoughts,
Thank you!

image

https://live.bootstrap-table.com/code/dharen008/12345

from bootstrap-table-examples.

UtechtDustin avatar UtechtDustin commented on June 27, 2024

The data-filter-control-container attribute is a selector, which means you have to use e.g. #toolbar.
Also added empty value attributes to the Open this select menu option tags, becaufe no empty value attribute is set Open this select menu would be the value (so the table would be filtered by that and would be empty).

Example: https://live.bootstrap-table.com/code/UtechtDustin/12217

Wil this example solve you're problem ?

from bootstrap-table-examples.

dharen008 avatar dharen008 commented on June 27, 2024

wow! that was fast! thank you so much!

from bootstrap-table-examples.

dharen008 avatar dharen008 commented on June 27, 2024

much better if you also add that to the list of example. it will help other people as well. thank you again!

from bootstrap-table-examples.

smillove avatar smillove commented on June 27, 2024

from bootstrap-table-examples.

dharen008 avatar dharen008 commented on June 27, 2024

Hi, another question. form your example https://live.bootstrap-table.com/code/UtechtDustin/12217

if i choose item 1 from the first select dropdown, how can i filter only the exact item 1 because right now it will show even the item 10+

from bootstrap-table-examples.

UtechtDustin avatar UtechtDustin commented on June 27, 2024

You have to strict the search with the option filterStrictSearch.

from bootstrap-table-examples.

dharen008 avatar dharen008 commented on June 27, 2024

already did that but it is still the same https://live.bootstrap-table.com/code/dharen008/12218

from bootstrap-table-examples.

UtechtDustin avatar UtechtDustin commented on June 27, 2024

Please check the category in the documentation, it's a column option not a table option.

from bootstrap-table-examples.

dharen008 avatar dharen008 commented on June 27, 2024

This one right? thats the one i use on my example here https://live.bootstrap-table.com/code/dharen008/12218

and it its still showing other item 1x+

filterStrictSearch
Attribute: data-filter-strict-search

type: Boolean

Detail:

Set to true if you want to use the strict search mode.

Default: false

from bootstrap-table-examples.

UtechtDustin avatar UtechtDustin commented on June 27, 2024

As i already wrote, its a COLUMN option not a TABLE option.
Example: https://live.bootstrap-table.com/code/UtechtDustin/12235
Bildschirmfoto 2022-07-28 um 09 26 30

from bootstrap-table-examples.

dharen008 avatar dharen008 commented on June 27, 2024

ohhh ok! Thank you!

from bootstrap-table-examples.

UtechtDustin avatar UtechtDustin commented on June 27, 2024

@dharen008
As the description of the searchFormatter already explains, this option just toggles the search (value) not the Displayed value in a select.

Set true to search(!!) using formatted data.

from bootstrap-table-examples.

dharen008 avatar dharen008 commented on June 27, 2024

Hi sir @UtechtDustin ,

Thank you for the info, can you give me a live example for this one Set true to search(!!) using formatted data.
so i can achieve the format i want. thank you

from bootstrap-table-examples.

dharen008 avatar dharen008 commented on June 27, 2024

Hi,

Anyone can help me solve this issue, I cant find a solution.

Thank you

from bootstrap-table-examples.

dharen008 avatar dharen008 commented on June 27, 2024

Hi

Anyone can help me solve this title issue on data search formatter? please read above and give a live example appreciate it thank you

from bootstrap-table-examples.

UtechtDustin avatar UtechtDustin commented on June 27, 2024

The filterDataCollector option should help you.

from bootstrap-table-examples.

dharen008 avatar dharen008 commented on June 27, 2024

GOT IT! thank you for your assist! appreciate it

from bootstrap-table-examples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.