mirror of
https://github.com/DataTables/DataTables.git
synced 2025-02-27 00:54:15 +01:00
- Bootstrap 4 is currently in beta so things can, and probably will still change. Bootstrap 4 packages for DataTables won't be made available until at least a beta release of Bootstrap 4. - A few things have changed in Bootstrap 4 and rather than trying to make the exisiting Bootstrap files work for both BS3 and BS4 it makes sense to offer both. We'd need to detect which version of BS is loaded and that can be quite unreliable (and delayed since the body would need to be available). - Pagingation requires a couple of classes, but no change in structure - BS4 don't include icons any more, so need to use UTF8 arrows to show sorting (don't particularly want other dependencies, although it is easy to add with CSS if you want more icon control) - Outstanding issue: The select element for paging control is not of a consistent height with the search input. This appears to be a Bootstrap issue: https://github.com/twbs/bootstrap/issues/17194
88 lines
3.4 KiB
HTML
88 lines
3.4 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico">
|
|
<meta name="viewport" content="initial-scale=1.0, maximum-scale=2.0">
|
|
<link rel="stylesheet" type="text/css" href="../resources/syntax/shCore.css">
|
|
<link rel="stylesheet" type="text/css" href="../resources/demo.css">
|
|
<script type="text/javascript" language="javascript" src="//code.jquery.com/jquery-1.12.0.min.js">
|
|
</script>
|
|
<script type="text/javascript" language="javascript" src="../resources/syntax/shCore.js">
|
|
</script>
|
|
<script type="text/javascript" language="javascript" src="../resources/demo.js">
|
|
</script>
|
|
<title>DataTables examples - Styling</title>
|
|
</head>
|
|
<body class="dt-example">
|
|
<div class="container">
|
|
<section>
|
|
<h1>DataTables example <span>Styling</span></h1>
|
|
<div class="info">
|
|
<p>When using DataTables, you want your tables to fit in with your site / app to make the end user experience as seamless as possible. For this reason, DataTables
|
|
provides an easy to customise core stylesheet, which has a number of features that you can enable or disable as you required. Additionally there are a number of
|
|
integration packages which can be used to fit DataTables into a site which uses some of the popular CSS libraries such as Twitter Bootstrap and Foundation. Or of
|
|
course you can craft your own CSS to fit it into your site perfectly!</p>
|
|
<p>This section includes examples of how DataTables can be styled using these methods.</p>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
<section>
|
|
<div class="footer">
|
|
<div class="gradient"></div>
|
|
<div class="liner">
|
|
<div class="toc">
|
|
<div class="toc-group">
|
|
<h3><a href="./index.html">Styling</a></h3>
|
|
<ul class="toc">
|
|
<li>
|
|
<a href="./display.html">Base style</a>
|
|
</li>
|
|
<li>
|
|
<a href="./no-classes.html">Base style - no styling classes</a>
|
|
</li>
|
|
<li>
|
|
<a href="./cell-border.html">Base style - cell borders</a>
|
|
</li>
|
|
<li>
|
|
<a href="./compact.html">Base style - compact</a>
|
|
</li>
|
|
<li>
|
|
<a href="./hover.html">Base style - hover</a>
|
|
</li>
|
|
<li>
|
|
<a href="./order-column.html">Base style - order-column</a>
|
|
</li>
|
|
<li>
|
|
<a href="./row-border.html">Base style - row borders</a>
|
|
</li>
|
|
<li>
|
|
<a href="./stripe.html">Base style - stripe</a>
|
|
</li>
|
|
<li>
|
|
<a href="./bootstrap.html">Bootstrap 3</a>
|
|
</li>
|
|
<li>
|
|
<a href="./bootstrap4.html">Bootstrap 4</a>
|
|
</li>
|
|
<li>
|
|
<a href="./foundation.html">Foundation</a>
|
|
</li>
|
|
<li>
|
|
<a href="./jqueryUI.html">jQuery UI ThemeRoller</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="epilogue">
|
|
<p>Please refer to the <a href="http://www.datatables.net">DataTables documentation</a> for full information about its API properties and methods.<br>
|
|
Additionally, there are a wide range of <a href="http://www.datatables.net/extensions">extensions</a> and <a href=
|
|
"http://www.datatables.net/plug-ins">plug-ins</a> which extend the capabilities of DataTables.</p>
|
|
<p class="copyright">DataTables designed and created by <a href="http://www.sprymedia.co.uk">SpryMedia Ltd</a> © 2007-2016<br>
|
|
DataTables is licensed under the <a href="http://www.datatables.net/mit">MIT license</a>.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</body>
|
|
</html> |