index.html 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  6. <meta name="description" content="An extended table to the integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation)">
  7. <meta name="author" content="Zhixin Wen, and Bootstrap Table contributors">
  8. <meta name="generator" content="Jekyll v3.8.5">
  9. <meta name="keywords" content="bootstrap,table,pagination,checkbox,radio,datatables,css,css-framework,semantic,semantic-ui,bulma,material,material-design,materialize,foundation">
  10. <meta name="docsearch:language" content="en">
  11. <title>Bootstrap Table · An extended table to the integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation)</title>
  12. <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous"><!-- Documentation extras -->
  13. <link href="/assets/css/docs.min.css" rel="stylesheet">
  14. <link href="/assets/css/style.css?m=9" rel="stylesheet">
  15. <!-- Favicons -->
  16. <link rel="icon" href="/favicon.png">
  17. <script type="text/javascript">
  18. if (window !== top) // 判断当前的 window 对象是否是 top 对象
  19. top.location.href = window.location.href // 如果不是,将 top 对象的网址自动导向被嵌入网页的网址
  20. </script>
  21. </head>
  22. <body>
  23. <a class="skippy sr-only sr-only-focusable" href="#content">
  24. <span class="skippy-text">Skip to main content</span>
  25. </a>
  26. <header class="navbar navbar-expand navbar-dark flex-column flex-md-row bd-navbar">
  27. <a class="navbar-brand mr-0 mr-md-2" href="/" aria-label="Bootstrap">
  28. <img src="/favicon.png" width="36" height="36">
  29. </a>
  30. <div class="navbar-nav-scroll">
  31. <ul class="navbar-nav bd-navbar-nav flex-row">
  32. <li class="nav-item">
  33. <a class="nav-link active"
  34. href="/">Home</a>
  35. </li>
  36. <li class="nav-item">
  37. <a class="nav-link "
  38. href="/docs/getting-started/introduction/">
  39. Documentation
  40. </a>
  41. </li>
  42. <li class="nav-item ">
  43. <a class="nav-link" href="/themes">
  44. Themes
  45. </a>
  46. </li>
  47. <li class="nav-item">
  48. <a class="nav-link "
  49. href="https://examples.bootstrap-table.com">
  50. Examples
  51. </a>
  52. </li>
  53. <li class="nav-item">
  54. <a class="nav-link"
  55. href="https://live.bootstrap-table.com"
  56. target="_blank">
  57. Online Editor
  58. </a>
  59. </li>
  60. <li class="nav-item ">
  61. <a class="nav-link" href="/news">
  62. News
  63. </a>
  64. </li>
  65. <li class="nav-item">
  66. <a class="nav-link"
  67. href="https://blog.bootstrap-table.com"
  68. target="_blank">
  69. Blog
  70. </a>
  71. </li>
  72. </ul>
  73. </div>
  74. <ul class="navbar-nav flex-row ml-md-auto d-none d-md-flex">
  75. <li class="nav-item dropdown">
  76. <a class="nav-item nav-link dropdown-toggle mr-md-2" href="#" id="bd-versions" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  77. v1.20.2
  78. </a>
  79. <div class="dropdown-menu dropdown-menu-md-right" aria-labelledby="bd-versions">
  80. <a class="dropdown-item active" href="/">Latest (1.20.2)</a>
  81. <a class="dropdown-item" href="http://bootstrap-table.com/versions/1.19.1/" target="_blank">v1.19.1</a>
  82. <a class="dropdown-item" href="http://bootstrap-table.com/versions/1.18.3/" target="_blank">v1.18.3</a>
  83. <a class="dropdown-item" href="http://bootstrap-table.com/versions/1.17.1/" target="_blank">v1.17.1</a>
  84. <a class="dropdown-item" href="http://bootstrap-table.com/versions/1.16.0/" target="_blank">v1.16.0</a>
  85. <a class="dropdown-item" href="http://bootstrap-table.com/versions/1.15.5/" target="_blank">v1.15.5</a>
  86. </div>
  87. </li>
  88. <li class="nav-item">
  89. <a class="nav-link p-2" href="https://github.com/wenzhixin/bootstrap-table" target="_blank" rel="noopener" aria-label="GitHub"><svg class="navbar-nav-svg" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 512 499.36" focusable="false" role="img"><path d="M256 0C114.64 0 0 114.61 0 256c0 113.09 73.34 209 175.08 242.9 12.8 2.35 17.47-5.56 17.47-12.34 0-6.08-.22-22.18-.35-43.54-71.2 15.49-86.2-34.34-86.2-34.34-11.64-29.57-28.42-37.45-28.42-37.45-23.27-15.84 1.73-15.55 1.73-15.55 25.69 1.81 39.21 26.38 39.21 26.38 22.84 39.12 59.92 27.82 74.5 21.27 2.33-16.54 8.94-27.82 16.25-34.22-56.84-6.43-116.6-28.43-116.6-126.49 0-27.95 10-50.8 26.35-68.69-2.63-6.48-11.42-32.5 2.51-67.75 0 0 21.49-6.88 70.4 26.24a242.65 242.65 0 0 1 128.18 0c48.87-33.13 70.33-26.24 70.33-26.24 14 35.25 5.18 61.27 2.55 67.75 16.41 17.9 26.31 40.75 26.31 68.69 0 98.35-59.85 120-116.88 126.32 9.19 7.9 17.38 23.53 17.38 47.41 0 34.22-.31 61.83-.31 70.23 0 6.85 4.61 14.81 17.6 12.31C438.72 464.97 512 369.08 512 256.02 512 114.62 397.37 0 256 0z" fill="currentColor" fill-rule="evenodd"/></svg>
  90. </a>
  91. </li>
  92. <li class="nav-item">
  93. <a class="nav-link p-2" href="https://twitter.com/wenzhixin2010" target="_blank" rel="noopener" aria-label="Twitter"><svg class="navbar-nav-svg" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 512 416.32" focusable="false" role="img"><path d="M160.83 416.32c193.2 0 298.92-160.22 298.92-298.92 0-4.51 0-9-.2-13.52A214 214 0 0 0 512 49.38a212.93 212.93 0 0 1-60.44 16.6 105.7 105.7 0 0 0 46.3-58.19 209 209 0 0 1-66.79 25.37 105.09 105.09 0 0 0-181.73 71.91 116.12 116.12 0 0 0 2.66 24c-87.28-4.3-164.73-46.3-216.56-109.82A105.48 105.48 0 0 0 68 159.6a106.27 106.27 0 0 1-47.53-13.11v1.43a105.28 105.28 0 0 0 84.21 103.06 105.67 105.67 0 0 1-47.33 1.84 105.06 105.06 0 0 0 98.14 72.94A210.72 210.72 0 0 1 25 370.84a202.17 202.17 0 0 1-25-1.43 298.85 298.85 0 0 0 160.83 46.92" fill="currentColor"/></svg>
  94. </a>
  95. </li>
  96. <li class="nav-item">
  97. <a class="nav-link p-2" href="https://opencollective.com/bootstrap-table" target="_blank" rel="noopener" aria-label="Open Collective"><svg class="navbar-nav-svg" xmlns="http://www.w3.org/2000/svg" viewbox="0 0 40 41" focusable="false" role="img" fill="currentColor" fill-rule="evenodd"><title>Open Collective</title><path d="M32.8 21c0 2.4-.8 4.9-2 6.9l5.1 5.1c2.5-3.4 4.1-7.6 4.1-12 0-4.6-1.6-8.8-4-12.2L30.7 14c1.2 2 2 4.3 2 7z" fill-opacity=".4"/><path d="M20 33.7a12.8 12.8 0 0 1 0-25.6c2.6 0 5 .7 7 2.1L32 5a20 20 0 1 0 .1 31.9l-5-5.2a13 13 0 0 1-7 2z"/></svg>
  98. </a>
  99. </li>
  100. </ul>
  101. <a class="btn btn-bd-download d-none d-lg-inline-block mb-3 mb-md-0 ml-md-3"
  102. href="/docs/getting-started/download/">Download</a>
  103. </header>
  104. <main class="bd-masthead" id="content" role="main">
  105. <div class="container">
  106. <div class="row align-items-center">
  107. <div class="col-4 mx-auto col-md-3 order-md-2">
  108. <img class="img-fluid mb-3 mb-md-0" src="favicon.png">
  109. </div>
  110. <div class="col-md-6 order-md-1 text-center text-md-left pr-md-5">
  111. <h1 class="mb-3 bd-text-purple-bright">
  112. Bootstrap Table
  113. </h1>
  114. <p class="lead">
  115. An extended table to the integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation)
  116. </p>
  117. <div class="row mx-n2">
  118. <div class="col-md px-2">
  119. <a href="/docs/getting-started/introduction/"
  120. class="btn btn-lg btn-bd-primary w-100 mb-3">
  121. Getting Started
  122. </a>
  123. </div>
  124. <div class="col-md px-2">
  125. <a href="/docs/getting-started/download/"
  126. class="btn btn-lg btn-outline-secondary w-100 mb-3">
  127. Download
  128. </a>
  129. </div>
  130. </div>
  131. <p class="text-muted">
  132. Currently1.20.2
  133. </p>
  134. <div id="gg"></div>
  135. </div>
  136. </div>
  137. </div>
  138. </main>
  139. <div class="masthead-followup row m-0 border border-white">
  140. <div class="col-12 col-md-4 p-3 p-md-5 bg-light border border-white">
  141. <!-- Icon by Bytesize https://github.com/danklammer/bytesize-icons -->
  142. <h3><svg xmlns="http://www.w3.org/2000/svg" focusable="false" width="32" height="32" fill="none" stroke="currentcolor" stroke-width="2" class="text-primary mb-2" viewBox="0 0 32 32" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><title>Import</title><path d="M28 22v8H4v-8M16 4v20m-8-8l8 8 8-8"/></svg>
  143. Installation</h3>
  144. <p>Include Bootstrap Table source CSS and JavaScript files via npm or yarn.</p>
  145. <figure class="highlight"><pre><code class="language-javascript" data-lang="javascript"><span class="nx">npm</span> <span class="nx">install</span> <span class="nx">bootstrap</span><span class="o">-</span><span class="nx">table</span>
  146. <span class="nx">yarn</span> <span class="nx">add</span> <span class="nx">bootstrap</span><span class="o">-</span><span class="nx">table</span></code></pre></figure>
  147. <hr class="half-rule">
  148. <a class="btn btn-outline-primary"
  149. href="/docs/getting-started/download/">
  150. Read installation docs
  151. </a>
  152. </div>
  153. <div class="col-12 col-md-4 p-3 p-md-5 bg-light border border-white">
  154. <!-- Icon by Bytesize https://github.com/danklammer/bytesize-icons -->
  155. <h3><svg xmlns="http://www.w3.org/2000/svg" focusable="false" width="32" height="32" fill="none" stroke="currentcolor" stroke-width="2" class="text-primary mb-2" viewBox="0 0 32 32" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><title>Download</title><path d="M9 22c-9 1-8-10 0-9C6 2 23 2 22 10c10-3 10 13 1 12m-12 4l5 4 5-4m-5-10v14"/></svg>
  156. CDN</h3>
  157. <p>When you only need to include Bootstrap Table’s compiled CSS or JS, use <a href="https://unpkg.com/bootstrap-table@1.20.2/dist/">UNPKG</a>.</p>
  158. <figure class="highlight"><pre><code class="language-html" data-lang="html"><span class="nt">&lt;link</span> <span class="na">rel=</span><span class="s">"stylesheet"</span> <span class="na">href=</span><span class="s">"https://unpkg.com/bootstrap-table@1.20.2/dist/bootstrap-table.min.css"</span><span class="nt">&gt;</span>
  159. <span class="nt">&lt;script </span><span class="na">src=</span><span class="s">"https://unpkg.com/bootstrap-table@1.20.2/dist/bootstrap-table.min.js"</span><span class="nt">&gt;&lt;/script&gt;</span></code></pre></figure>
  160. <hr class="half-rule">
  161. <a href="/docs/api" class="btn btn-outline-primary">
  162. Explore the docs
  163. </a>
  164. </div>
  165. <div class="col-12 col-md-4 p-3 p-md-5 bg-light border border-white">
  166. <!-- Icon by Bytesize https://github.com/danklammer/bytesize-icons -->
  167. <h3><svg xmlns="http://www.w3.org/2000/svg" focusable="false" width="32" height="32" fill="none" stroke="currentcolor" stroke-width="2" class="text-primary mb-2" viewBox="0 0 32 32" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><title>Lightning</title><path d="M18 13l8-11L8 13l6 6-8 11 18-11z"/></svg>
  168. Examples</h3>
  169. <p>
  170. The examples of bootstrap table.
  171. </p>
  172. <hr class="half-rule">
  173. <a href="https://examples.bootstrap-table.com" class="btn btn-outline-primary">
  174. Browse Examples
  175. </a>
  176. </div>
  177. <script>window.baseurl = ''</script>
  178. <div class="container border-bottom supports-container">
  179. <div class="pt-5">
  180. <h3>Support the Team</h3>
  181. <div>
  182. Through contributions, donations, and sponsorship, you allow bootstrap-table to thrive.
  183. </div>
  184. </div>
  185. <div id="supports" style="display: none">
  186. <div
  187. v-for="(rank, i) in ranks"
  188. :key="i"
  189. class="supports pt-5 pb-5"
  190. >
  191. <div>
  192. <h3><span v-text="rank.title"></span> Sponsors</h3>
  193. </div>
  194. <div v-if="rank.title === 'Backer'" class="support-description">
  195. The following <b>Backers</b> are individuals who have contributed various amounts of money in order to help support bootstrap-table.
  196. Every little bit helps, and we appreciate even the smallest contributions.
  197. <a href="https://opencollective.com/bootstrap-table#sponsor" target="_blank">
  198. Become a backer
  199. </a>
  200. </div>
  201. <div v-else class="support-description">
  202. <b><span v-text="rank.title"></span> Sponsors</b> are those who have pledged $<span v-text="rank.minimum + (rank.maximum ? ' to $' + rank.maximum : ' or more')"></span> to bootstrap-table.
  203. <a href="https://opencollective.com/bootstrap-table#section-contribute" target="_blank">
  204. Become a sponsor
  205. </a>
  206. </div>
  207. <div>
  208. <a
  209. v-for="support in rank.supports"
  210. :key="support.slug"
  211. :href="support.website || 'https://opencollective.com/' + support.slug"
  212. :title="'$' + support.totalDonations + ' by ' + support.name || support.slug"
  213. class="support-item"
  214. target="_blank"
  215. :rel="support.rel || 'nofollow'"
  216. >
  217. <img
  218. :class="rank.title"
  219. :src="support.avatar"
  220. :alt="support.name || support.slug"
  221. class="support-avatar"
  222. >
  223. </a>
  224. </div>
  225. </div>
  226. </div>
  227. </div>
  228. <link href="//cdn-images.mailchimp.com/embedcode/classic-10_7.css" rel="stylesheet" type="text/css">
  229. <style>
  230. #mc_embed_signup {
  231. margin: 0 auto;
  232. text-align: center;
  233. max-width: 550px;
  234. width: 100%;
  235. }
  236. #mc-embedded-subscribe {
  237. margin: 0;
  238. }
  239. </style>
  240. <hr>
  241. <div id="mc_embed_signup" class="pt-5 pb-5">
  242. <form action="https://gmail.us20.list-manage.com/subscribe/post?u=f30f83799e58c38ca308f6b73&amp;id=4256ed0bdc" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
  243. <h3 for="mce-EMAIL">Subscribe our News</h3>
  244. <div class="input-group">
  245. <input type="email" value="" name="EMAIL" class="form-control form-control-lg email" id="mce-EMAIL" placeholder="email address" required>
  246. <div class="input-group-append">
  247. <input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="btn btn-outline-secondary">
  248. </div>
  249. </div>
  250. <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
  251. <div style="position: absolute; left: -5000px;" aria-hidden="true">
  252. <input type="text" name="b_f30f83799e58c38ca308f6b73_4256ed0bdc" tabindex="-1" value="">
  253. </div>
  254. <div id="mce-responses" class="clear">
  255. <div class="response" id="mce-error-response" style="display:none"></div>
  256. <div class="response" id="mce-success-response" style="display:none"></div>
  257. </div>
  258. </form>
  259. </div>
  260. </div>
  261. <footer class="bd-footer text-muted">
  262. <div class="container-fluid p-3 p-md-5">
  263. <ul class="bd-footer-links">
  264. <li><a href="https://github.com/wenzhixin/bootstrap-table" target="_blank">GitHub</a></li>
  265. <li><a href="https://twitter.com/wenzhixin2010" target="_blank">Twitter</a></li>
  266. <li><a href="http://wenzhixin.net.cn" target="_blank">My website</a></li>
  267. <li><a href="http://repos.wenzhixin.net.cn" target="_blank">My repos</a></li>
  268. <li><a href="http://stackoverflow.com/questions/tagged/bootstrap-table" target="_blank">Questions / Helps</a></li>
  269. <li><a href="mailto:wenzhixin2010@gmail.com">Email</a></li>
  270. </ul>
  271. <p>
  272. Bootstrap Table Website is a fork of <a href="http://getbootstrap.com/">Bootstrap</a>.
  273. This fork is developed and maintained by <a href="https://github.com/wenzhixin">@wenzhixin</a>.
  274. </p>
  275. <p>
  276. Currently v1.20.2, Code licensed <a href="https://github.com/wenzhixin/bootstrap-table/blob/master/LICENSE" target="_blank">MIT</a>,
  277. docs <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p>
  278. </div>
  279. </footer>
  280. <script src="https://cdn.jsdelivr.net/npm/jquery/dist/jquery.min.js"></script>
  281. <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"></script>
  282. <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
  283. <script async defer src="https://buttons.github.io/buttons.js"></script><script src="https://cdn.jsdelivr.net/npm/vue@2.6.12/dist/vue.min.js"></script>
  284. <script src="/assets/js/supports.js?m=5"></script>
  285. <script async src='//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js'></script>
  286. <script>(function($) {
  287. window.fnames = new Array(); window.ftypes = new Array();fnames[0]='EMAIL';ftypes[0]='email';fnames[1]='FNAME';ftypes[1]='text';fnames[2]='LNAME';ftypes[2]='text';fnames[3]='ADDRESS';ftypes[3]='address';fnames[4]='PHONE';ftypes[4]='phone';fnames[5]='BIRTHDAY';ftypes[5]='birthday';
  288. }(jQuery))</script><script src="https://gg.wenzhixin.net.cn/bootstrap-table/gg.js"></script>
  289. <script src="/assets/js/docs.min.js?m=1"></script>
  290. <!-- Global site tag (gtag.js) - Google Analytics -->
  291. <script async src="https://www.googletagmanager.com/gtag/js?id=UA-132747866-1"></script>
  292. <script>
  293. window.dataLayer = window.dataLayer || []
  294. function gtag() {window.dataLayer.push(arguments)}
  295. gtag('js', new Date())
  296. gtag('config', 'UA-132747866-1')
  297. </script>
  298. </body>
  299. </html>