bootstrap-table README

The project's README from github.com/wenzhixin/bootstrap-table. As one markdown file: README.md.

Bootstrap Table

Build Status GitHub version Donate Backers on Open Collective Sponsors on Open Collective Package Quality

An extended Bootstrap table with radio, checkbox, sort, pagination, extensions and other added features.

To get started, check out:

List of donators

LICENSE

NOTE: Bootstrap Table is licensed under The MIT 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

How to get it

Manual download

Use Releases page or the source.

Yarn

yarn add bootstrap-table

Npm

npm install bootstrap-table

CDN

You can source bootstrap-table directly from a CDN like CDNJS or bootcss or jsdelivr.

Contributing

For feature requests, bug reports or submitting pull requests, please ensure you first read CONTRIBUTING.md.

Reporting Issues

As stated above, please read CONTRIBUTING.md, especially Bug Reports

And as stated there, please provide an Online Example when creating issues!

It's really saves much time.

You can also use our examples template via Load Examples button:

Online Editor

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. This project exists thanks to all the people who contribute. [Contribute].

Release History

Look at the Change Log

Local develop

To develop bootstrap-table locally please run:

mkdir bootstrap-table-dev
cd bootstrap-table-dev
git clone https://github.com/wenzhixin/bootstrap-table
git clone https://github.com/wenzhixin/bootstrap-table-examples

yarn add http-server
npx http-server

And then open: http://localhost:8081/bootstrap-table-examples

Local build

Be sure to use a current version of yarn/npm. To build bootstrap-table locally please run:

Yarn

yarn install
yarn build

Npm

npm install
npm run build

Result will appear in dist directory.

PayPal Sponsors

Write my essay services from Edubirdie

OpenCollective Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]

OpenCollective Backers

Support this project by becoming a backer. Your image will show up here with a link to your website. [Become a backer]

bootstrap-table (wenzhixin/bootstrap-table)

Searching Database…

这是什么?一个前端 JavaScript 插件,能把普通的 HTML 表格变成功能丰富的表格,在 Bootstrap 这类 CSS 框架的基础上,增加单选框和复选框选择、排序、分页以及扩展功能。
它是一个独立的应用,还是需要嵌入我自己网页里的东西?它是用于你自己网页的客户端插件,不是独立应用:你把它和 CSS 框架一起引入,它就会增强你页面标记里的表格。全程不涉及服务器。
怎么把它加到项目里?可以用 npm 或 Yarn 安装,也可以从 CDNJS 或 jsdelivr 这类 CDN 加载,或者直接从 GitHub Releases 页面手动下载。
它是不是只能搭配 Bootstrap,还是也能用其他 CSS 框架?它最初是为 Twitter Bootstrap 开发的,支持所有 Bootstrap 版本,同时也能与 Semantic UI、Bulma、Material Design、Foundation 和 Vue.js 集成。
这些表格开箱即用能做什么?点击列标题即可排序,可以单选或多选行,用强大的分页功能翻阅数据,还能切换到卡片视图或详情视图。列、表头和表尾都可以显示或隐藏,另外还有响应式设计、本地化以及一系列扩展。
用它需要写多少 JavaScript?很少:表格完全可以靠 data 属性来配置,数据也可以通过 AJAX 以 JSON 格式拉取。
安装之前能先在网上试用吗?可以——网上有在线示例,还有一个带 Load Examples 按钮的 Online Editor,提供现成的模板,可以直接在浏览器里修改。
可以免费使用吗,包括商业用途?可以。它采用 MIT 许可证,README 中说明可以完全免费使用和任意修改。
Creator
wenzhixin
Size
51.7 MB
Stars
11.8K
Age
13y
Commits · 90 Days