Comments (18)
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!
https://live.bootstrap-table.com/code/dharen008/12345
from bootstrap-table-examples.
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.
wow! that was fast! thank you so much!
from bootstrap-table-examples.
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.
from bootstrap-table-examples.
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.
You have to strict the search with the option filterStrictSearch.
from bootstrap-table-examples.
already did that but it is still the same https://live.bootstrap-table.com/code/dharen008/12218
from bootstrap-table-examples.
Please check the category in the documentation, it's a column option not a table option.
from bootstrap-table-examples.
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.
As i already wrote, its a COLUMN option not a TABLE option.
Example: https://live.bootstrap-table.com/code/UtechtDustin/12235
from bootstrap-table-examples.
ohhh ok! Thank you!
from bootstrap-table-examples.
@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.
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.
Hi,
Anyone can help me solve this issue, I cant find a solution.
Thank you
from bootstrap-table-examples.
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.
The filterDataCollector option should help you.
from bootstrap-table-examples.
GOT IT! thank you for your assist! appreciate it
from bootstrap-table-examples.
Related Issues (20)
- A sample based on data- is appreciated HOT 2
- Custom filterAlgorithm in "filterBy" didn't explained HOT 4
- Deal correctly with server side integer values
- deployed version show json result indented HOT 1
- Add a README.md on server with details
- Editable Extension how pass x-editable options reading from database
- How to set different classes on th and td tags
- Footer Field not work if data-pagination and data-side-pagination is not set HOT 1
- Sorting the number where contains the suffix. HOT 2
- Update to sticky-header.html , example file HOT 2
- Table From Data on Modal with customized scrollbar HOT 2
- Filtering the filter select items based on the another option in another filter select HOT 2
- bug in _beautifySource function HOT 2
- scroll with fix height in rtl HOT 1
- Filter Control selects + Mobile not working together HOT 1
- Using cookie + reorder table , it preserve headers but not tbody HOT 2
- Is there a full tutorial in YouTube? HOT 3
- Is Bootstrap 5 supported? HOT 2
- Column Class example not working in documentation. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bootstrap-table-examples.