Change data-url using refresh:url
See original GitHub issueHello!
When init table with property data-url = "/ admin / category / load category = 10?"
, And after that change url table.bootstrapTable ( 'refresh', {url: '/ admin / category / load category = 99?' })
, all be ok, data loaded correctly. But, if I use pagination and change page from 1 to 2, table use 1st url - category = 10, but not category = 99 …
I think, this is not correct. Table must use last assigned url for loading data. I don’t know how I can change data url correctly for all table features work after that.
What you think to do that?
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Unable to set data-url value using jQuery in Bootstrap table
The best way to set/change data-url of bootstrap table is to use refresh method together with refreshOptions: $table.bootstrapTable('refreshOptions', {url: ...
Read more >How do I use JavaScript to modify the URL without reloading ...
You can use either history.pushState() or history.replaceState() to modify the URL in the browser, depending on your needs:.
Read more >How I fetch new scrape data URL sharing in LINE chat?
I share some our URL web link in line chat, it's show title and meta description data. then we want to change title...
Read more >Editing App on XCode - Buzztouch
This file has NO dataURL and no reportToCould URL right? These should be blank. c) Compile > run. The Refresh button should not...
Read more >Data URLs - HTTP - MDN Web Docs - Mozilla
The data portion of a data URL is opaque, so an attempt to use a query string (page-specific parameters, with the syntax ...
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
Example of solution: https://jsfiddle.net/jamiam/5qmm063j/ My Pull Request: a91e050ab12a3c8408cdab5e33c508977cc497c1
Merged