You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
127 lines
5.4 KiB
127 lines
5.4 KiB
2 years ago
|
# [Bootstrap Table](https://bootstrap-table.com)
|
||
|
|
||
|
[](https://travis-ci.org/wenzhixin/bootstrap-table)
|
||
|
[](http://badge.fury.io/gh/wenzhixin%2Fbootstrap-table)
|
||
|
[](http://badge.fury.io/bo/bootstrap-table)
|
||
|
[](https://www.jsdelivr.com/package/npm/bootstrap-table)
|
||
|
[](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZDHP676FQDUT6)
|
||
|
[](#backers)
|
||
|
[](#sponsors)
|
||
|
|
||
|
[](https://graphs.waffle.io/wenzhixin/bootstrap-table/throughput.svg)
|
||
|
|
||
|
An extended Bootstrap table with radio, checkbox, sort, pagination, extensions and other added features.
|
||
|
|
||
|
To get started, check out:
|
||
|
|
||
|
* [Docs](https://bootstrap-table.com)
|
||
|
* [Examples](https://github.com/wenzhixin/bootstrap-table-examples)
|
||
|
* [Questions/Helps](http://stackoverflow.com/questions/tagged/bootstrap-table)
|
||
|
* [问题/帮助](http://segmentfault.com/t/bootstrap-table)
|
||
|
|
||
|
|
||
|
[**List of donators**](https://github.com/wenzhixin/bootstrap-table/blob/master/DONATORS.md)
|
||
|
|
||
|
## LICENSE
|
||
|
|
||
|
**NOTE:** Bootstrap Table is licensed under [The MIT License](https://github.com/wenzhixin/bootstrap-table/blob/master/LICENSE). Completely free, you can arbitrarily use and modify this plugin. If this plugin is useful to you, you can **Star** this repo, your support is my biggest motive force, thanks.
|
||
|
|
||
|
## Features
|
||
|
|
||
|
* Created for Twitter Bootstrap (All versions supported)
|
||
|
* Responsive web design
|
||
|
* Scrollable Table with fixed headers
|
||
|
* Fully configurable
|
||
|
* Via data attributes
|
||
|
* Show/Hide columns
|
||
|
* Show/Hide headers
|
||
|
* Show/Hide footers
|
||
|
* Get data in JSON format using AJAX
|
||
|
* Simple column sorting with a click
|
||
|
* Format column
|
||
|
* Single or multiple row selection
|
||
|
* Powerful pagination
|
||
|
* Card view
|
||
|
* Detail view
|
||
|
* Localization
|
||
|
* Extensions
|
||
|
|
||
|
## How to get it
|
||
|
|
||
|
### Manual download
|
||
|
|
||
|
Use [Releases page](https://github.com/wenzhixin/bootstrap-table/releases) or [the source](https://github.com/wenzhixin/bootstrap-table/archive/master.zip).
|
||
|
|
||
|
### Bower
|
||
|
|
||
|
```
|
||
|
bower install bootstrap-table
|
||
|
```
|
||
|
|
||
|
### Npm
|
||
|
|
||
|
```
|
||
|
npm install bootstrap-table
|
||
|
```
|
||
|
|
||
|
### CDN
|
||
|
|
||
|
You can source bootstrap-table directly from a CDN like [CDNJS](http://www.cdnjs.com/libraries/bootstrap-table) or [bootcss](http://open.bootcss.com/bootstrap-table/) or [jsdelivr](http://www.jsdelivr.com/#!bootstrap.table).
|
||
|
|
||
|
|
||
|
## Contributing
|
||
|
|
||
|
For feature requests, bug reports or submitting pull requests, please ensure you first read [CONTRIBUTING.md](https://github.com/wenzhixin/bootstrap-table/blob/master/CONTRIBUTING.md).
|
||
|
|
||
|
|
||
|
## Reporting Issues
|
||
|
|
||
|
As stated above, please read [CONTRIBUTING.md](https://github.com/wenzhixin/bootstrap-table/blob/master/CONTRIBUTING.md), especially [Bug Reports](https://github.com/wenzhixin/bootstrap-table/blob/master/CONTRIBUTING.md#bug-reports)
|
||
|
|
||
|
And as stated there, please provide an [Online Example](https://live.bootstrap-table.com) when creating issues!
|
||
|
|
||
|
It's really saves much time.
|
||
|
|
||
|
You can also use our examples template via Load Examples button:
|
||
|
|
||
|
[Online Editor](https://live.bootstrap-table.com/)
|
||
|
|
||
|
Your feedback is very appreciated!
|
||
|
|
||
|
|
||
|
## Acknowledgements
|
||
|
|
||
|
Thanks to everyone who have given feedback and submitted pull requests. A list of all the contributors can be found [here](https://github.com/wenzhixin/bootstrap-table/graphs/contributors).
|
||
|
This project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)].
|
||
|
<a href="graphs/contributors"><img src="https://opencollective.com/bootstrap-table/contributors.svg?width=890" /></a>
|
||
|
|
||
|
## Release History
|
||
|
|
||
|
Look at the [Change Log](https://github.com/wenzhixin/bootstrap-table/blob/master/CHANGELOG.md)
|
||
|
|
||
|
## Local build
|
||
|
|
||
|
To build bootstrap-table locally please run:
|
||
|
|
||
|
```
|
||
|
npm run build
|
||
|
```
|
||
|
|
||
|
Result will appear in `dist` directory.
|
||
|
|
||
|
## Backers
|
||
|
|
||
|
Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/bootstrap-table#backer)]
|
||
|
|
||
|
<a href="https://opencollective.com/bootstrap-table#backers" target="_blank"><img src="https://opencollective.com/bootstrap-table/backers.svg?width=890"></a>
|
||
|
|
||
|
## Sponsors
|
||
|
|
||
|
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/bootstrap-table#sponsor)]
|
||
|
|
||
|
<a href="https://opencollective.com/bootstrap-table/sponsor/0/website" target="_blank"><img src="https://opencollective.com/bootstrap-table/sponsor/0/avatar.svg"></a>
|
||
|
<a href="https://opencollective.com/bootstrap-table/sponsor/1/website" target="_blank"><img src="https://opencollective.com/bootstrap-table/sponsor/1/avatar.svg"></a>
|
||
|
<a href="https://opencollective.com/bootstrap-table/sponsor/2/website" target="_blank"><img src="https://opencollective.com/bootstrap-table/sponsor/2/avatar.svg"></a>
|
||
|
<a href="https://opencollective.com/bootstrap-table/sponsor/3/website" target="_blank"><img src="https://opencollective.com/bootstrap-table/sponsor/3/avatar.svg"></a>
|
||
|
<a href="https://opencollective.com/bootstrap-table/sponsor/4/website" target="_blank"><img src="https://opencollective.com/bootstrap-table/sponsor/4/avatar.svg"></a>
|