|
@@ -1,258 +1,11 @@
|
|
|
<!DOCTYPE html>
|
|
<!DOCTYPE html>
|
|
|
-<html lang="en">
|
|
|
|
|
|
|
+<html>
|
|
|
<head>
|
|
<head>
|
|
|
- <meta charset="utf-8">
|
|
|
|
|
- <title>Bootstrap Table</title>
|
|
|
|
|
- <meta name="author" content="zhixin">
|
|
|
|
|
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
|
- <link rel="stylesheet" href="assets/bootstrap/css/bootstrap.min.css">
|
|
|
|
|
- <link rel="stylesheet" href="src/bootstrap-table.css">
|
|
|
|
|
- <link rel="stylesheet" href="docs/docs.css">
|
|
|
|
|
- <link rel="stylesheet" href="//wenzhixin.net.cn/css/fork.css">
|
|
|
|
|
- <!--[if lt IE 9]>
|
|
|
|
|
- <script src="//wenzhixin.net.cn/js/html5shiv.js"></script>
|
|
|
|
|
- <script src="//wenzhixin.net.cn/js/respond.min.js"></script>
|
|
|
|
|
- <![endif]-->
|
|
|
|
|
|
|
+ <title></title>
|
|
|
</head>
|
|
</head>
|
|
|
<body>
|
|
<body>
|
|
|
-<a class="sr-only" href="#content">Skip to main content</a>
|
|
|
|
|
-<header class="navbar navbar-inverse navbar-fixed-top bs-docs-nav">
|
|
|
|
|
- <div class="container">
|
|
|
|
|
- <div class="navbar-header">
|
|
|
|
|
- <a class="navbar-brand" href="#">
|
|
|
|
|
- Bootstrap Table
|
|
|
|
|
- </a>
|
|
|
|
|
- </div>
|
|
|
|
|
- <nav class="collapse navbar-collapse bs-navbar-collapse" role="navigation">
|
|
|
|
|
- <ul class="nav navbar-nav">
|
|
|
|
|
- <li class="active">
|
|
|
|
|
- <a href="index.html">Documentation</a>
|
|
|
|
|
- </li>
|
|
|
|
|
- </ul>
|
|
|
|
|
- </nav>
|
|
|
|
|
- </div>
|
|
|
|
|
-</header>
|
|
|
|
|
-<div class="bs-header" id="content">
|
|
|
|
|
- <div class="container">
|
|
|
|
|
- <h1>Bootstrap Table</h1>
|
|
|
|
|
- <p>The table displays data in a tabular format and offers rich support to radio, checkbox, sort, pagination and so on. The table has been designed to reduce development time and to require no specific knowledge from developers. It is both featherweight and feature-rich.</p>
|
|
|
|
|
- </div>
|
|
|
|
|
-</div>
|
|
|
|
|
-<div class="container">
|
|
|
|
|
- <div class="row">
|
|
|
|
|
- <div class="col-md-3">
|
|
|
|
|
- <div class="bs-sidebar" role="complementary">
|
|
|
|
|
- <ul class="nav bs-sidenav">
|
|
|
|
|
- <li><a href="#properties">Table Properties</a></li>
|
|
|
|
|
- <li><a href="#columns">Column Properties</a></li>
|
|
|
|
|
- <li><a href="#events">Events</a></li>
|
|
|
|
|
- <li><a href="#methods">Methods</a></li>
|
|
|
|
|
- <li>
|
|
|
|
|
- <a href="#examples">Examples</a>
|
|
|
|
|
- <ul class="nav">
|
|
|
|
|
- <li><a href="#basic">Basic Table</a></li>
|
|
|
|
|
- <li><a href="#sort">Sort Table</a></li>
|
|
|
|
|
- <li><a href="#radio">Radio Table</a></li>
|
|
|
|
|
- <li><a href="#checkbox">Checkbox Table</a></li>
|
|
|
|
|
- <li><a href="#pagination">Pagination Table</a></li>
|
|
|
|
|
- </ul>
|
|
|
|
|
- </li>
|
|
|
|
|
- <li><a href="#acknowledgements">Acknowledgements</a></li>
|
|
|
|
|
- </ul>
|
|
|
|
|
- </div>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div class="col-md-9" role="main">
|
|
|
|
|
- <div>
|
|
|
|
|
- <div class="page-header">
|
|
|
|
|
- <h1 id="properties">Table Properties:</h1>
|
|
|
|
|
- </div>
|
|
|
|
|
- <table id="table"></table>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div>
|
|
|
|
|
- <div class="page-header">
|
|
|
|
|
- <h1 id="columns">Column Properties:</h1>
|
|
|
|
|
- </div>
|
|
|
|
|
- <table id="column"></table>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div>
|
|
|
|
|
- <div class="page-header">
|
|
|
|
|
- <h1 id="events">Events:</h1>
|
|
|
|
|
- </div>
|
|
|
|
|
- <table id="event"></table>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div>
|
|
|
|
|
- <div class="page-header">
|
|
|
|
|
- <h1 id="methods">Methods:</h1>
|
|
|
|
|
- </div>
|
|
|
|
|
- <table id="method"></table>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div>
|
|
|
|
|
- <div class="page-header">
|
|
|
|
|
- <h1 id="examples">Examples:</h1>
|
|
|
|
|
- </div>
|
|
|
|
|
-
|
|
|
|
|
- <h2 id="basic">Basic Table</h2>
|
|
|
|
|
- <div class="bs-example">
|
|
|
|
|
- <table class="bootstrap-table" data-url="docs/data1.json" data-height="246">
|
|
|
|
|
- <thead>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <th data-field="id" data-align="right">Item ID</th>
|
|
|
|
|
- <th data-field="name" data-align="center">Item Name</th>
|
|
|
|
|
- <th data-field="price" data-align="left">Item Price</th>
|
|
|
|
|
- </tr>
|
|
|
|
|
- </thead>
|
|
|
|
|
- </table>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div class="highlight">
|
|
|
|
|
-<pre><code class="language-html">
|
|
|
|
|
-<table class="bootstrap-table" data-url="docs/data1.json" data-height="246">
|
|
|
|
|
- <thead>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <th data-field="id" data-align="right">Item ID</th>
|
|
|
|
|
- <th data-field="name" data-align="center">Item Name</th>
|
|
|
|
|
- <th data-field="price" data-align="left">Item Price</th>
|
|
|
|
|
- </tr>
|
|
|
|
|
- </thead>
|
|
|
|
|
-</table>
|
|
|
|
|
-</code></pre>
|
|
|
|
|
- </div>
|
|
|
|
|
-
|
|
|
|
|
- <h2 id="sort">Sort Table</h2>
|
|
|
|
|
- <div class="bs-example">
|
|
|
|
|
- <table class="bootstrap-table" data-url="docs/data1.json" data-height="246">
|
|
|
|
|
- <thead>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <th data-field="id" data-align="right" data-sortable="true">Item ID</th>
|
|
|
|
|
- <th data-field="name" data-align="center" data-sortable="true">Item Name</th>
|
|
|
|
|
- <th data-field="price" data-sortable="true" data-sortable="true">Item Price</th>
|
|
|
|
|
- </tr>
|
|
|
|
|
- </thead>
|
|
|
|
|
- </table>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div class="highlight">
|
|
|
|
|
-<pre><code class="language-html">
|
|
|
|
|
-<table class="bootstrap-table" data-url="docs/data1.json" data-height="246">
|
|
|
|
|
- <thead>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <th data-field="id" data-align="right" data-sortable="true">Item ID</th>
|
|
|
|
|
- <th data-field="name" data-align="center" data-sortable="true">Item Name</th>
|
|
|
|
|
- <th data-field="price" data-sortable="true" data-sortable="true">Item Price</th>
|
|
|
|
|
- </tr>
|
|
|
|
|
- </thead>
|
|
|
|
|
-</table>
|
|
|
|
|
-</code></pre>
|
|
|
|
|
- </div>
|
|
|
|
|
-
|
|
|
|
|
- <h2 id="radio">Radio Table</h2>
|
|
|
|
|
- <div class="bs-example">
|
|
|
|
|
- <table class="bootstrap-table" data-url="docs/data1.json" data-height="246">
|
|
|
|
|
- <thead>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <th data-field="state" data-radio="true"></th>
|
|
|
|
|
- <th data-field="id" data-align="right">Item ID</th>
|
|
|
|
|
- <th data-field="name" data-align="center">Item Name</th>
|
|
|
|
|
- <th data-field="price" data-align="left">Item Price</th>
|
|
|
|
|
- </tr>
|
|
|
|
|
- </thead>
|
|
|
|
|
- </table>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div class="highlight">
|
|
|
|
|
-<pre><code class="language-html">
|
|
|
|
|
-<table class="bootstrap-table" data-url="docs/data1.json" data-height="246">
|
|
|
|
|
- <thead>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <th data-field="state" data-radio="true"></th>
|
|
|
|
|
- <th data-field="id" data-align="right">Item ID</th>
|
|
|
|
|
- <th data-field="name" data-align="center">Item Name</th>
|
|
|
|
|
- <th data-field="price" data-align="left">Item Price</th>
|
|
|
|
|
- </tr>
|
|
|
|
|
- </thead>
|
|
|
|
|
-</table>
|
|
|
|
|
-</code></pre>
|
|
|
|
|
- </div>
|
|
|
|
|
-
|
|
|
|
|
- <h2 id="checkbox">Checkbox Table</h2>
|
|
|
|
|
- <div class="bs-example">
|
|
|
|
|
- <table class="bootstrap-table" data-url="docs/data1.json" data-height="246">
|
|
|
|
|
- <thead>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <th data-field="state" data-checkbox="true"></th>
|
|
|
|
|
- <th data-field="id" data-align="right">Item ID</th>
|
|
|
|
|
- <th data-field="name" data-align="center">Item Name</th>
|
|
|
|
|
- <th data-field="price" data-align="">Item Price</th>
|
|
|
|
|
- </tr>
|
|
|
|
|
- </thead>
|
|
|
|
|
- </table>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div class="highlight">
|
|
|
|
|
-<pre><code class="language-html">
|
|
|
|
|
-<table class="bootstrap-table" data-url="docs/data1.json" data-height="246">
|
|
|
|
|
- <thead>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <th data-field="state" data-checkbox="true"></th>
|
|
|
|
|
- <th data-field="id" data-align="right">Item ID</th>
|
|
|
|
|
- <th data-field="name" data-align="center">Item Name</th>
|
|
|
|
|
- <th data-field="price" data-align="left">Item Price</th>
|
|
|
|
|
- </tr>
|
|
|
|
|
- </thead>
|
|
|
|
|
-</table>
|
|
|
|
|
-</code></pre>
|
|
|
|
|
- </div>
|
|
|
|
|
-
|
|
|
|
|
- <h2 id="pagination">Pagination Table</h2>
|
|
|
|
|
- <div class="bs-example">
|
|
|
|
|
- <table class="bootstrap-table" data-url="docs/data2.json" data-height="246" data-pagination="true">
|
|
|
|
|
- <thead>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <th data-field="state" data-checkbox="true"></th>
|
|
|
|
|
- <th data-field="id" data-align="right">Item ID</th>
|
|
|
|
|
- <th data-field="name" data-align="center">Item Name</th>
|
|
|
|
|
- <th data-field="price" data-align="">Item Price</th>
|
|
|
|
|
- </tr>
|
|
|
|
|
- </thead>
|
|
|
|
|
- </table>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div class="highlight">
|
|
|
|
|
-<pre><code class="language-html">
|
|
|
|
|
-<table class="bootstrap-table" data-url="docs/data1.json" data-height="246" data-pagination="true">
|
|
|
|
|
- <thead>
|
|
|
|
|
- <tr>
|
|
|
|
|
- <th data-field="state" data-checkbox="true"></th>
|
|
|
|
|
- <th data-field="id" data-align="right">Item ID</th>
|
|
|
|
|
- <th data-field="name" data-align="center">Item Name</th>
|
|
|
|
|
- <th data-field="price" data-align="left">Item Price</th>
|
|
|
|
|
- </tr>
|
|
|
|
|
- </thead>
|
|
|
|
|
-</table>
|
|
|
|
|
-</code></pre>
|
|
|
|
|
- </div>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div>
|
|
|
|
|
- <div class="page-header">
|
|
|
|
|
- <h1 id="acknowledgements">Acknowledgements:</h1>
|
|
|
|
|
- </div>
|
|
|
|
|
- <p>© 2012-2014, Bootstrap Table is licensed under the The MIT License. Coded by wenzhixin. </p>
|
|
|
|
|
- <p>My website (<a href="http://wenzhixin.net.cn">wenzhixin.net.cn</a>)</p>
|
|
|
|
|
- <p>My repos (<a href="http://repos.wenzhixin.net.cn">repos.wenzhixin.net.cn</a>)</p>
|
|
|
|
|
- <p>Github (<a href="https://github.com/wenzhixin">@wenzhixin</a>)</p>
|
|
|
|
|
- <p>Email (wenzhixin2010@gmail.com)</p>
|
|
|
|
|
- </div>
|
|
|
|
|
- </div>
|
|
|
|
|
- </div>
|
|
|
|
|
-</div>
|
|
|
|
|
-
|
|
|
|
|
-<a href="https://github.com/wenzhixin/bootstrap-table" class="fork_me"></a>
|
|
|
|
|
-
|
|
|
|
|
-<div class="footer">
|
|
|
|
|
- <p>
|
|
|
|
|
- Copyright © 2012-2014 wenzhixin.net.cn
|
|
|
|
|
- </p>
|
|
|
|
|
-</div>
|
|
|
|
|
-
|
|
|
|
|
-<script src="assets/jquery.min.js"></script>
|
|
|
|
|
-<script src="assets/bootstrap/js/bootstrap.min.js"></script>
|
|
|
|
|
-<script src="src/bootstrap-table.js"></script>
|
|
|
|
|
-<script src="docs/docs.js"></script>
|
|
|
|
|
-<script src="//wenzhixin.net.cn/js/analytics.js"></script>
|
|
|
|
|
|
|
+<script>
|
|
|
|
|
+ location.replace('docs' + location.hash);
|
|
|
|
|
+</script>
|
|
|
</body>
|
|
</body>
|
|
|
-</html>
|
|
|
|
|
|
|
+</html>
|