Closed wenzhixin closed 5 years ago
can you add these to the site?
How to auto refresh JSON content in background? If I am not using data-url function but instead using $getJson method.
@saquibm You can use refresh
method to do this:
$table.bootstrapTable('refresh', {silent: true})
These are no longer on the link above, gives 404... spent me a long time to find this, but solved 99% of my problems!
try use English learning bootstrap-table
Hi, there are some error log in jsFiddle example page.
Refused to apply style from 'https://rawgit.com/wenzhixin/bootstrap-table/master/src/bootstrap-table.css' because its MIME type ('') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
Please use our Online Editor instead.
Basic
Style
1608 Width problem: http://jsfiddle.net/wenyi/8jL67Lcx/11/
Align
Sort
821 Sort by custom data attribute: http://jsfiddle.net/e3nk137y/1434/
1373, #1777 Custom sort with
null/undefined
value: http://jsfiddle.net/wenyi/88Lpwoy1/1/1794 Set the global sortable defaults for the table: http://jsfiddle.net/fsaruk7b/7/
461 Html sort: http://jsfiddle.net/wenyi/e1ypfk3b/2/
Format
Hide Header
Columns
Card View
Select
1776 Select the row without radio or checkbox: http://jsfiddle.net/wenyi/e3nk137y/3814/
Toolbar
Group
1919 Group headers via JavaScript: http://jsfiddle.net/e3nk137y/4320/
957 Transfer from rowspan / colspan table: http://jsfiddle.net/wenyi/e3nk137y/4761/
Detail View
3270: Expand detail auto collapse other rows : http://jsfiddle.net/wenyi/e3nk137y/18029/
3168: Animate with collapseRow and expandRow: http://jsfiddle.net/wenyi/e3nk137y/18137/
Pagination
3497 Remove pagination detail: http://jsfiddle.net/wenyi/4r6g4cfu/848/
Bootstrap4
Events
Methods
1791
updateFormatText
method: http://jsfiddle.net/e3nk137y/3876/Locales
2019 change formatLoadingMessage: http://jsfiddle.net/djhvscf/e3nk137y/4839/
Editable
1357 Inline Editable: http://jsfiddle.net/wenyi/e3nk137y/6491/
1697 Jump from editable field to another: http://jsfiddle.net/wenyi/e3nk137y/3744/
1865 Editable with address type: http://jsfiddle.net/e3nk137y/4232/
2109 Use editable Select2 type: http://jsfiddle.net/wenyi/e3nk137y/6515/
2314 Use editable and formatter: https://jsfiddle.net/fsauter/5shvjxej/
Export
1001 Export options using attribute: http://jsfiddle.net/marcelk/6gd9w79u/
1797: Use iconSize: http://jsfiddle.net/e3nk137y/4225/
2234: Custom export link: http://jsfiddle.net/wenyi/wc0zLpef/1/.
3436: Add icon for export extension using fa: http://jsfiddle.net/wenyi/e3nk137y/17639/
Context Menu
Filter Control
More example
864 Table with tooltip and popover: http://jsfiddle.net/djhvscf/8vgk5626/14/
1804 Use strict search: http://jsfiddle.net/e3nk137y/3858/
1810 Custom search placeholder: http://jsfiddle.net/e3nk137y/3872/
1768 Init columns after receiving remote data: https://jsfiddle.net/1ehuLmw0/1/
553 fiterBy range: http://jsfiddle.net/e3nk137y/1010/
2227 Custom tooltip style: http://jsfiddle.net/wenyi/e3nk137y/6490/
2871 Update row classes of using uniqueId: http://jsfiddle.net/wenyi/e3nk137y/11463/
3359 Check the final post-body event: http://jsfiddle.net/wenyi/e3nk137y/17778/
3009: Field name contains a '.' symbol: http://jsfiddle.net/6bz80h6y/4/
3526: Break long single word in td: http://jsfiddle.net/wenyi/4g2wdp2m/2/