index.html 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <!-- Meta, title, CSS, favicons, etc. -->
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7. <meta name="viewport" content="width=device-width, initial-scale=1">
  8. <meta name="description" content="An extended Bootstrap table with radio, checkbox, sort, pagination, and other added features.">
  9. <meta name="keywords" content="table, bootstrap, bootstrap plugin, bootstrap resources, bootstrap table, jQuery plugin">
  10. <meta name="author" content="Zhixin Wen, and Bootstrap table contributors">
  11. <title>
  12. Extensions &middot; Bootstrap Table
  13. </title>
  14. <!-- Bootstrap CSS -->
  15. <link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
  16. <link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap-theme.min.css" rel="stylesheet">
  17. <link href="https://unpkg.com/bootstrap-table/dist/bootstrap-table.min.css" rel="stylesheet">
  18. <link href="../assets/css/docs.min.css" rel="stylesheet">
  19. <link href="../assets/css/sidenav.css?v=1.13.0" rel="stylesheet">
  20. <link href="../assets/css/style.css?v=1.13.0&m=2" rel="stylesheet">
  21. <link href="../assets/css/ads.css?m=3" rel="stylesheet">
  22. <!--[if lt IE 9]><script src="../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
  23. <script src="../assets/js/ie-emulation-modes-warning.js"></script>
  24. <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
  25. <!--[if lt IE 9]>
  26. <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
  27. <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  28. <![endif]-->
  29. <!-- Favicons -->
  30. <link rel="apple-touch-icon" href="../favicon.png">
  31. <link rel="icon" href="../favicon.png">
  32. <script>
  33. (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  34. (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  35. m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  36. })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
  37. ga('create', 'UA-36708951-1', 'wenzhixin.net.cn');
  38. ga('send', 'pageview');
  39. </script>
  40. <script type="text/javascript">
  41. if (window!=top) // 判断当前的window对象是否是top对象
  42. top.location.href = window.location.href; // 如果不是,将top对象的网址自动导向被嵌入网页的网址
  43. </script>
  44. <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
  45. <!-- 将此标记放置在 head 中,或放置在结束 body 标记之前,并使其紧邻此标记。 -->
  46. <script src="https://apis.google.com/js/platform.js" async defer></script>
  47. </head>
  48. <body>
  49. <a class="sr-only sr-only-focusable" href="#content">Skip to main content</a>
  50. <!-- Docs master nav -->
  51. <header class="navbar navbar-static-top bs-docs-nav" id="top" role="banner">
  52. <div class="container">
  53. <div class="navbar-header">
  54. <button class="navbar-toggle collapsed" type="button" data-toggle="collapse"
  55. data-target=".bs-navbar-collapse">
  56. <span class="sr-only">Toggle navigation</span>
  57. <span class="icon-bar"></span>
  58. <span class="icon-bar"></span>
  59. <span class="icon-bar"></span>
  60. </button>
  61. <a href="../home/" class="navbar-brand">Bootstrap Table</a>
  62. </div>
  63. <nav class="collapse navbar-collapse bs-navbar-collapse" role="navigation">
  64. <ul class="nav navbar-nav">
  65. <li >
  66. <a href="../getting-started/">Getting started</a>
  67. </li>
  68. <li >
  69. <a href="../documentation/">Documentation</a>
  70. </li>
  71. <li class="dropdown" >
  72. <a href="javascript:" data-toggle="dropdown">
  73. Examples
  74. <span class="caret"></span>
  75. </a>
  76. <ul class="dropdown-menu">
  77. <li><a href="http://issues.wenzhixin.net.cn/bootstrap-table/" target="_blank">Examples</a></li>
  78. <li><a href="https://github.com/wenzhixin/bootstrap-table/issues/1765">jsFiddle Examples</a></li>
  79. </ul>
  80. </li>
  81. <li class="active">
  82. <a href="../extensions/">Extensions</a>
  83. </li>
  84. <li >
  85. <a href="../donate/">Donate</a>
  86. </li>
  87. <li >
  88. <a href="../faq/">FAQ</a>
  89. </li>
  90. <li>
  91. <a href="https://github.com/wenzhixin/bootstrap-table" target="_blank">GitHub</a>
  92. </li>
  93. </ul>
  94. <ul class="nav navbar-nav navbar-right">
  95. <!-- Localization -->
  96. <li>
  97. <a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown">
  98. <span class="language">English</span> <span class="caret"></span>
  99. </a>
  100. <ul class="dropdown-menu">
  101. <li data-language="en">
  102. <a href="javascript:void(0)">
  103. English
  104. </a>
  105. </li>
  106. <li data-language="zh-cn">
  107. <a href="javascript:void(0)">
  108. 简体中文
  109. </a>
  110. </li>
  111. <li data-language="es">
  112. <a href="javascript:void(0)">
  113. Español
  114. </a>
  115. </li>
  116. </ul>
  117. </li>
  118. </ul>
  119. </nav>
  120. </div>
  121. </header>
  122. <!-- Docs page layout -->
  123. <div class="bs-docs-header" id="content">
  124. <div class="container">
  125. <div class="row">
  126. <div class="col-md-8">
  127. <h1>Extensions</h1>
  128. <div>The extensions of bootstrap table.</div>
  129. </div>
  130. <div class="col-md-4">
  131. <script async type="text/javascript" src="//cdn.carbonads.com/carbon.js?serve=CK7DE27Y&placement=bootstrap-tablewenzhixinnetcn" id="_carbonads_js"></script>
  132. </div>
  133. </div>
  134. </div>
  135. </div>
  136. <div class="bs-docs-social">
  137. If you like bootstrap table:
  138. <ul class="bs-docs-social-buttons">
  139. <li>
  140. <iframe class="github-btn"
  141. src="http://ghbtns.com/github-btn.html?user=wenzhixin&repo=bootstrap-table&type=watch&count=true"
  142. width="100" height="20" title="Star on GitHub"></iframe>
  143. </li>
  144. <li>
  145. <iframe class="github-btn"
  146. src="http://ghbtns.com/github-btn.html?user=wenzhixin&repo=bootstrap-table&type=fork&count=true"
  147. width="102" height="20" title="Fork on GitHub"></iframe>
  148. </li>
  149. <li>
  150. <iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=wenzhixin&type=follow&count=true"
  151. width="175" height="20" title="Follow on GitHub"></iframe>
  152. </li>
  153. <!--<li>-->
  154. <!-- https://about.twitter.com/resources/buttons#tweet -->
  155. <!--<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://wenzhixin.net.cn/p/bootstrap-table" data-via="BootstrapTable" data-related="BootstrapTable">Tweet</a>-->
  156. <!--</li>-->
  157. <!--<li>-->
  158. <!--将此标记放置在你希望显示+1 按钮的位置。 -->
  159. <!--<div class="g-plusone" data-annotation="inline" data-width="120"></div>-->
  160. <!--</li>-->
  161. <!--<li>-->
  162. <!--<div>QQ group: 103558783</div>-->
  163. <!--</li>-->
  164. </ul>
  165. Questions/Helps:
  166. <ul class="bs-docs-social-buttons">
  167. <li>
  168. <a class="help-btn" href="http://stackoverflow.com/questions/tagged/bootstrap-table">StackOverflow</a>
  169. </li>
  170. <li>
  171. <a class="help-btn" href="http://segmentfault.com/t/bootstrap-table">SegmentFault</a>
  172. </li>
  173. </ul>
  174. </div>
  175. <hr>
  176. <div class="container bs-docs-container">
  177. <div class="row">
  178. <div class="col-md-9"
  179. role="main"
  180. data-toggle="sidenav"
  181. data-container="#sidenav"
  182. data-hs="h1,h2"
  183. data-smart-id="true"
  184. data-bottom=".bs-docs-footer">
  185. <style>
  186. .name {
  187. font-weight: bold;
  188. font-size: 200%;
  189. margin-top: -20px;
  190. }
  191. .card-view {
  192. margin: 15px 0;
  193. }
  194. </style>
  195. <h1>Extensions list <a href="https://github.com/wenzhixin/bootstrap-table/issues"></a></h1>
  196. <div class="row">
  197. <div class="col-md-6">
  198. <table data-toggle="table"
  199. data-url="../data/extensions.json?v=1.13.0"
  200. data-card-view="true"
  201. data-response-handler="responseHandler0">
  202. <thead>
  203. <tr>
  204. <th data-field="name" data-formatter="nameFormatter"></th>
  205. <th data-field="version">Version</th>
  206. <th data-field="plugins" data-formatter="pluginsFormatter">Plugins</th>
  207. <th data-field="description">Description</th>
  208. <th data-field="button" data-formatter="buttonFormatter"></th>
  209. </tr>
  210. </thead>
  211. </table>
  212. </div>
  213. <div class="col-md-6">
  214. <table data-toggle="table"
  215. data-url="../data/extensions.json?v=1.13.0"
  216. data-card-view="true"
  217. data-response-handler="responseHandler1">
  218. <thead>
  219. <tr>
  220. <th data-field="name" data-formatter="nameFormatter"></th>
  221. <th data-field="version">Version</th>
  222. <th data-field="plugins" data-formatter="pluginsFormatter">Plugins</th>
  223. <th data-field="description">Description</th>
  224. <th data-field="button" data-formatter="buttonFormatter"></th>
  225. </tr>
  226. </thead>
  227. </table>
  228. </div>
  229. </div>
  230. <script>
  231. function nameFormatter(v, row) {
  232. return [
  233. '<div class="name">',
  234. '<a title="' + row.author.name + '" href="https://github.com/' + row.author.name + '" target="_blank">',
  235. '<img src="' + row.author.image + '" width="64"> ',
  236. '</a>',
  237. row.name,
  238. '</div>'
  239. ].join('');
  240. }
  241. function pluginsFormatter(plugins) {
  242. var html = [];
  243. $.each(plugins, function (i, plugin) {
  244. html.push('<a href="' + plugin.url + '" target="_blank">' + plugin.name + '</a>');
  245. });
  246. return html.join(', ');
  247. }
  248. function buttonFormatter(value, row) {
  249. return [
  250. '<a class="btn btn-primary" href="' + row.url + '" target="_blank">Home</a> ',
  251. '<a class="btn btn-default" href="' + row.example + '" target="_blank">Example</a>'
  252. ].join('');
  253. }
  254. function responseHandler0(res) {
  255. return responseHandler(res, 0);
  256. }
  257. function responseHandler1(res) {
  258. return responseHandler(res, 1);
  259. }
  260. function responseHandler(res, n) {
  261. return $.grep(res, function (item, i) {
  262. return i % 2 === n;
  263. });
  264. }
  265. </script>
  266. </div>
  267. <div class="col-md-3">
  268. <div id="sidenav"></div>
  269. </div>
  270. </div>
  271. </div>
  272. <!-- Footer
  273. ================================================== -->
  274. <footer class="bs-docs-footer" role="contentinfo">
  275. <div class="container">
  276. <div class="bs-docs-social">
  277. If you like bootstrap table:
  278. <ul class="bs-docs-social-buttons">
  279. <li>
  280. <iframe class="github-btn"
  281. src="http://ghbtns.com/github-btn.html?user=wenzhixin&repo=bootstrap-table&type=watch&count=true"
  282. width="100" height="20" title="Star on GitHub"></iframe>
  283. </li>
  284. <li>
  285. <iframe class="github-btn"
  286. src="http://ghbtns.com/github-btn.html?user=wenzhixin&repo=bootstrap-table&type=fork&count=true"
  287. width="102" height="20" title="Fork on GitHub"></iframe>
  288. </li>
  289. <li>
  290. <iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=wenzhixin&type=follow&count=true"
  291. width="175" height="20" title="Follow on GitHub"></iframe>
  292. </li>
  293. <!--<li>-->
  294. <!-- https://about.twitter.com/resources/buttons#tweet -->
  295. <!--<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://wenzhixin.net.cn/p/bootstrap-table" data-via="BootstrapTable" data-related="BootstrapTable">Tweet</a>-->
  296. <!--</li>-->
  297. <!--<li>-->
  298. <!--将此标记放置在你希望显示+1 按钮的位置。 -->
  299. <!--<div class="g-plusone" data-annotation="inline" data-width="120"></div>-->
  300. <!--</li>-->
  301. <!--<li>-->
  302. <!--<div>QQ group: 103558783</div>-->
  303. <!--</li>-->
  304. </ul>
  305. Questions/Helps:
  306. <ul class="bs-docs-social-buttons">
  307. <li>
  308. <a class="help-btn" href="http://stackoverflow.com/questions/tagged/bootstrap-table">StackOverflow</a>
  309. </li>
  310. <li>
  311. <a class="help-btn" href="http://segmentfault.com/t/bootstrap-table">SegmentFault</a>
  312. </li>
  313. </ul>
  314. </div>
  315. <p>Designed and built with all the love in the world by <a href="https://github.com/wenzhixin" target="_blank">@wenzhixin</a>.</p>
  316. <p>Maintained by <a href="https://github.com/wenzhixin" target="_blank">@wenzhixin</a> with the help of <a href="https://github.com/wenzhixin/bootstrap-table/graphs/contributors" target="_blank">our contributors</a>.</p>
  317. <p>Code licensed under <a href="https://github.com/wenzhixin/bootstrap-table/blob/master/LICENSE" target="_blank">MIT</a>, documentation under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p>
  318. <ul class="bs-docs-footer-links muted">
  319. <li>Currently v1.13.0</li>
  320. <li>&middot;</li>
  321. <li><a href="https://github.com/wenzhixin/bootstrap-table">GitHub</a></li>
  322. <li>&middot;</li>
  323. <li><a href="http://wenzhixin.net.cn">My website</a></li>
  324. <li>&middot;</li>
  325. <li><a href="http://repos.wenzhixin.net.cn">My repos</a></li>
  326. <li>&middot;</li>
  327. <li><a href="http://stackoverflow.com/questions/tagged/bootstrap-table">Questions / Helps</a></li>
  328. <li>&middot;</li>
  329. <li><a href="https://github.com/wenzhixin/bootstrap-table/issues">Issues</a></li>
  330. <li>&middot;</li>
  331. <li><a href="https://github.com/wenzhixin/bootstrap-table/releases">Releases</a></li>
  332. <li>&middot;</li>
  333. <li><a href="mailto:wenzhixin2010@gmail.com">Email</a></li>
  334. </ul>
  335. </div>
  336. </footer>
  337. <!-- Bootstrap core JavaScript
  338. ================================================== -->
  339. <!-- Placed at the end of the document so the pages load faster -->
  340. <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
  341. <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
  342. <script src="https://unpkg.com/bootstrap-table/dist/bootstrap-table.min.js"></script>
  343. <script src="https://unpkg.com/bootstrap-table/dist/extensions/mobile/bootstrap-table-mobile.min.js"></script>
  344. <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
  345. <script src="../assets/js/ie10-viewport-bug-workaround.js"></script>
  346. <script src="../assets/js/sidenav.js?v=1.13.0"></script>
  347. <script src="../assets/js/common.js?v=1.13.0"></script>
  348. </body>
  349. </html>