| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342 |
- <!doctype html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
- <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)">
- <meta name="author" content="Zhixin Wen, and Bootstrap Table contributors">
- <meta name="generator" content="Jekyll v3.8.5">
- <meta name="keywords" content="bootstrap,table,pagination,checkbox,radio,datatables,css,css-framework,semantic,semantic-ui,bulma,material,material-design,materialize,foundation">
- <meta name="docsearch:language" content="en">
- <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>
- <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 -->
- <link href="/assets/css/docs.min.css" rel="stylesheet">
- <link href="/assets/css/style.css?m=9" rel="stylesheet">
- <!-- Favicons -->
- <link rel="icon" href="/favicon.png">
- <script type="text/javascript">
- if (window !== top) // 判断当前的 window 对象是否是 top 对象
- top.location.href = window.location.href // 如果不是,将 top 对象的网址自动导向被嵌入网页的网址
- </script>
- </head>
- <body>
- <a class="skippy sr-only sr-only-focusable" href="#content">
- <span class="skippy-text">Skip to main content</span>
- </a>
- <header class="navbar navbar-expand navbar-dark flex-column flex-md-row bd-navbar">
- <a class="navbar-brand mr-0 mr-md-2" href="/" aria-label="Bootstrap">
- <img src="/favicon.png" width="36" height="36">
- </a>
- <div class="navbar-nav-scroll">
- <ul class="navbar-nav bd-navbar-nav flex-row">
- <li class="nav-item">
- <a class="nav-link active"
- href="/">Home</a>
- </li>
- <li class="nav-item">
- <a class="nav-link "
- href="/docs/getting-started/introduction/">
- Documentation
- </a>
- </li>
- <li class="nav-item ">
- <a class="nav-link" href="/themes">
- Themes
- </a>
- </li>
- <li class="nav-item">
- <a class="nav-link "
- href="https://examples.bootstrap-table.com">
- Examples
- </a>
- </li>
- <li class="nav-item">
- <a class="nav-link"
- href="https://live.bootstrap-table.com"
- target="_blank">
- Online Editor
- </a>
- </li>
- <li class="nav-item ">
- <a class="nav-link" href="/news">
- News
- </a>
- </li>
- <li class="nav-item">
- <a class="nav-link"
- href="https://blog.bootstrap-table.com"
- target="_blank">
- Blog
- </a>
- </li>
- </ul>
- </div>
- <ul class="navbar-nav flex-row ml-md-auto d-none d-md-flex">
- <li class="nav-item dropdown">
- <a class="nav-item nav-link dropdown-toggle mr-md-2" href="#" id="bd-versions" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
- v1.20.2
- </a>
- <div class="dropdown-menu dropdown-menu-md-right" aria-labelledby="bd-versions">
- <a class="dropdown-item active" href="/">Latest (1.20.2)</a>
- <a class="dropdown-item" href="http://bootstrap-table.com/versions/1.19.1/" target="_blank">v1.19.1</a>
- <a class="dropdown-item" href="http://bootstrap-table.com/versions/1.18.3/" target="_blank">v1.18.3</a>
- <a class="dropdown-item" href="http://bootstrap-table.com/versions/1.17.1/" target="_blank">v1.17.1</a>
- <a class="dropdown-item" href="http://bootstrap-table.com/versions/1.16.0/" target="_blank">v1.16.0</a>
- <a class="dropdown-item" href="http://bootstrap-table.com/versions/1.15.5/" target="_blank">v1.15.5</a>
- </div>
- </li>
- <li class="nav-item">
- <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>
- </a>
- </li>
- <li class="nav-item">
- <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>
- </a>
- </li>
- <li class="nav-item">
- <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>
- </a>
- </li>
- </ul>
- <a class="btn btn-bd-download d-none d-lg-inline-block mb-3 mb-md-0 ml-md-3"
- href="/docs/getting-started/download/">Download</a>
- </header>
- <main class="bd-masthead" id="content" role="main">
- <div class="container">
- <div class="row align-items-center">
- <div class="col-4 mx-auto col-md-3 order-md-2">
- <img class="img-fluid mb-3 mb-md-0" src="favicon.png">
- </div>
- <div class="col-md-6 order-md-1 text-center text-md-left pr-md-5">
- <h1 class="mb-3 bd-text-purple-bright">
- Bootstrap Table
- </h1>
- <p class="lead">
- An extended table to the integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation)
- </p>
- <div class="row mx-n2">
- <div class="col-md px-2">
- <a href="/docs/getting-started/introduction/"
- class="btn btn-lg btn-bd-primary w-100 mb-3">
- Getting Started
- </a>
- </div>
- <div class="col-md px-2">
- <a href="/docs/getting-started/download/"
- class="btn btn-lg btn-outline-secondary w-100 mb-3">
- Download
- </a>
- </div>
- </div>
- <p class="text-muted">
- Currently1.20.2
- </p>
- <div id="gg"></div>
- </div>
- </div>
- </div>
- </main>
- <div class="masthead-followup row m-0 border border-white">
- <div class="col-12 col-md-4 p-3 p-md-5 bg-light border border-white">
- <!-- Icon by Bytesize https://github.com/danklammer/bytesize-icons -->
- <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>
- Installation</h3>
- <p>Include Bootstrap Table source CSS and JavaScript files via npm or yarn.</p>
- <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>
- <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>
- <hr class="half-rule">
- <a class="btn btn-outline-primary"
- href="/docs/getting-started/download/">
- Read installation docs
- </a>
- </div>
- <div class="col-12 col-md-4 p-3 p-md-5 bg-light border border-white">
- <!-- Icon by Bytesize https://github.com/danklammer/bytesize-icons -->
- <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>
- CDN</h3>
- <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>
- <figure class="highlight"><pre><code class="language-html" data-lang="html"><span class="nt"><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">></span>
- <span class="nt"><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">></script></span></code></pre></figure>
- <hr class="half-rule">
- <a href="/docs/api" class="btn btn-outline-primary">
- Explore the docs
- </a>
- </div>
- <div class="col-12 col-md-4 p-3 p-md-5 bg-light border border-white">
- <!-- Icon by Bytesize https://github.com/danklammer/bytesize-icons -->
- <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>
- Examples</h3>
- <p>
- The examples of bootstrap table.
- </p>
- <hr class="half-rule">
- <a href="https://examples.bootstrap-table.com" class="btn btn-outline-primary">
- Browse Examples
- </a>
- </div>
- <script>window.baseurl = ''</script>
- <div class="container border-bottom supports-container">
- <div class="pt-5">
- <h3>Support the Team</h3>
- <div>
- Through contributions, donations, and sponsorship, you allow bootstrap-table to thrive.
- </div>
- </div>
- <div id="supports" style="display: none">
- <div
- v-for="(rank, i) in ranks"
- :key="i"
- class="supports pt-5 pb-5"
- >
- <div>
- <h3><span v-text="rank.title"></span> Sponsors</h3>
- </div>
- <div v-if="rank.title === 'Backer'" class="support-description">
- The following <b>Backers</b> are individuals who have contributed various amounts of money in order to help support bootstrap-table.
- Every little bit helps, and we appreciate even the smallest contributions.
- <a href="https://opencollective.com/bootstrap-table#sponsor" target="_blank">
- Become a backer
- </a>
- </div>
- <div v-else class="support-description">
- <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.
- <a href="https://opencollective.com/bootstrap-table#section-contribute" target="_blank">
- Become a sponsor
- </a>
- </div>
- <div>
- <a
- v-for="support in rank.supports"
- :key="support.slug"
- :href="support.website || 'https://opencollective.com/' + support.slug"
- :title="'$' + support.totalDonations + ' by ' + support.name || support.slug"
- class="support-item"
- target="_blank"
- :rel="support.rel || 'nofollow'"
- >
- <img
- :class="rank.title"
- :src="support.avatar"
- :alt="support.name || support.slug"
- class="support-avatar"
- >
- </a>
- </div>
- </div>
- </div>
- </div>
- <link href="//cdn-images.mailchimp.com/embedcode/classic-10_7.css" rel="stylesheet" type="text/css">
- <style>
- #mc_embed_signup {
- margin: 0 auto;
- text-align: center;
- max-width: 550px;
- width: 100%;
- }
- #mc-embedded-subscribe {
- margin: 0;
- }
- </style>
- <hr>
- <div id="mc_embed_signup" class="pt-5 pb-5">
- <form action="https://gmail.us20.list-manage.com/subscribe/post?u=f30f83799e58c38ca308f6b73&id=4256ed0bdc" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
- <h3 for="mce-EMAIL">Subscribe our News</h3>
- <div class="input-group">
- <input type="email" value="" name="EMAIL" class="form-control form-control-lg email" id="mce-EMAIL" placeholder="email address" required>
- <div class="input-group-append">
- <input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="btn btn-outline-secondary">
- </div>
- </div>
- <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
- <div style="position: absolute; left: -5000px;" aria-hidden="true">
- <input type="text" name="b_f30f83799e58c38ca308f6b73_4256ed0bdc" tabindex="-1" value="">
- </div>
- <div id="mce-responses" class="clear">
- <div class="response" id="mce-error-response" style="display:none"></div>
- <div class="response" id="mce-success-response" style="display:none"></div>
- </div>
- </form>
- </div>
- </div>
- <footer class="bd-footer text-muted">
- <div class="container-fluid p-3 p-md-5">
- <ul class="bd-footer-links">
- <li><a href="https://github.com/wenzhixin/bootstrap-table" target="_blank">GitHub</a></li>
- <li><a href="https://twitter.com/wenzhixin2010" target="_blank">Twitter</a></li>
- <li><a href="http://wenzhixin.net.cn" target="_blank">My website</a></li>
- <li><a href="http://repos.wenzhixin.net.cn" target="_blank">My repos</a></li>
- <li><a href="http://stackoverflow.com/questions/tagged/bootstrap-table" target="_blank">Questions / Helps</a></li>
- <li><a href="mailto:wenzhixin2010@gmail.com">Email</a></li>
- </ul>
- <p>
- Bootstrap Table Website is a fork of <a href="http://getbootstrap.com/">Bootstrap</a>.
- This fork is developed and maintained by <a href="https://github.com/wenzhixin">@wenzhixin</a>.
- </p>
- <p>
- Currently v1.20.2, Code licensed <a href="https://github.com/wenzhixin/bootstrap-table/blob/master/LICENSE" target="_blank">MIT</a>,
- docs <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p>
- </div>
- </footer>
- <script src="https://cdn.jsdelivr.net/npm/jquery/dist/jquery.min.js"></script>
- <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"></script>
- <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
- <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>
- <script src="/assets/js/supports.js?m=5"></script>
- <script async src='//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js'></script>
- <script>(function($) {
- 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';
- }(jQuery))</script><script src="https://gg.wenzhixin.net.cn/bootstrap-table/gg.js"></script>
- <script src="/assets/js/docs.min.js?m=1"></script>
- <!-- Global site tag (gtag.js) - Google Analytics -->
- <script async src="https://www.googletagmanager.com/gtag/js?id=UA-132747866-1"></script>
- <script>
- window.dataLayer = window.dataLayer || []
- function gtag() {window.dataLayer.push(arguments)}
- gtag('js', new Date())
- gtag('config', 'UA-132747866-1')
- </script>
- </body>
- </html>
|