'queryParams' doesn't work
See original GitHub issueBootstraptable version(s) affected: 4.3.1
Description
For example, I want to screen out the data where Gene ID is G1.
I used the following code, But it still shows all the data.
`
<script> $(document).ready(function(){ $('#search-table').bootstrapTable({ url:'../trans/Ni.json', pagination:true, search:true, showColumns: true, paginationPreText: "Previous", paginationNextText: "Next", pageSize: 10, pageList: [10, 25, 50, 100], queryParams: function(params) { var temp = { gene_id:'G1'}; return temp; }, columns:[ [ { field:'gene_id', title:'Gene ID', sortable:true, align: 'center', valign:'middle', rowspan:2 }, ... `Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Why ActivatedRoute.queryParams is not working in Angular?
I am using routing in my Angular app. I have bellow route in my routing module. { path: 'user/:name', component: UserComponent ...
Read more >Change of QueryParam not detected · Issue #17609 - GitHub
The merging of the querystring seems to be happening fine but angular does not see it as a route change apparenty. As a...
Read more >use-query-params - npm
useQueryParams. A React Hook, HOC, and Render Props solution for managing state in URL query parameters with easy serialization. Works with ...
Read more >Getting Query Params from Angular's Router - Ultimate Courses
In this post you're going to learn how get query params from the URL in Angular by using the router snapshot, and also...
Read more >RouterLink - Angular
Specify a value here when you do not want to use the default value for ... You can use absolute or relative paths...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@JojoZhangxinye You can write acustom filter algorithm function (using regex) with the filterBy function. Please check the documentation, do you need more help ?
You can use the
searchText
option: https://live.bootstrap-table.com/code/wenzhixin/6881