misantron/datatables-bootstrap3-plugin

DataTables jQuery 插件和 Bootstrap 3 集成插件

0.6.0 2018-09-15 09:01 UTC

This package is auto-updated.

Last update: 2024-08-29 04:39:57 UTC


README

NPM Version NPM Download NPM License GitHub Version

jQuery DataTables 插件和 Bootstrap 3 集成。

安装

您可以通过 npmyarnbower 安装最新版本

$ npm install --save datatables-bootstrap3-plugin
$ yarn add datatables-bootstrap3-plugin
$ bower install --save datatables-bootstrap3-plugin

直接将库和样式文件包含到您的 HTML 页面中

<link href="css/datatables-bootstrap3.css" rel="stylesheet">
<script src="js/datatables-bootstrap3.js"></script>

外部依赖

  • Twitter Bootstrap 3.3.*
  • Font Awesome 图标工具包 4.7.*
  • jQuery DataTables 插件 1.10.*
  • jQuery 库 3.3.*

分支更改

  • 样式表更改以使用 Font-Awesome 显示排序和分页图标。您不再需要为此目的使用图像。

使用示例

如果您有任何问题,可以在此查看示例代码 here