This article shares with you the lightweight BootstrapTable table plug-in that displays data in the form of tables. It supports operations such as single choice, check boxes, sorting, paging, and hidden columns, if you are interested, you can refer to the Bootstrap-based lightweight Table plug-in Bootstrap Table for simple configuration, it supports fixed headers, single/check, sorting, paging, search, and custom headers to improve development efficiency and reduce development time.
Development Based on Bootstrap 3 (supports both Bootstrap 2)
Responsive Interface
Fixed Header
Fully configurable
Support data attributes
Show/hide Columns
Show/hide the header
Use AJAX to obtain JSON data
Click the header to simply sort
Support custom Column Display
Support single/check
Powerful paging Function
Support business card Layout
Supports multiple languages
3. Usage:
1. Import the bootstrapdatabase in the header label of the HTML page (for example, your project still does not use metadata and bootstrap-table.css.
2) introduce the jQuery library and Bootstrap Library (If your project is not used) and bootstrap-table.js before the head tag or before the body tag is closed (more recommended.