mirror of
https://github.com/DataTables/DataTables.git
synced 2025-01-19 12:52:11 +01:00
6e51a62684
I don't know if there are more to this or if it would break some other rules but as of my testing it should be fine to remove this rule for headers that have no sorting applied to them. This is the case already for "normal sized" tables as the padding-right rule is only applied if there is a sorting class to the element. But it has been forgotten for the table-sm variant. So there are two options that I can see. Specify this rule does not apply if there is a sorting_disabled class Do the same as what was done for the normal sized table in the following commit: 4e611f31ff84deae5ae4666c7ba60ad8cb1012c3
85 lines
3.2 KiB
HTML
85 lines
3.2 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.4.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 - API</title>
|
|
</head>
|
|
<body class="dt-example">
|
|
<div class="container">
|
|
<section>
|
|
<h1>DataTables example <span>API</span></h1>
|
|
<div class="info">
|
|
<p>The real power of DataTables can be exploited through the use of the API that it presents. The DataTables API is designed to be simple, consistent and easy to
|
|
use. The examples in this section show how the API may be used.</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">API</a></h3>
|
|
<ul class="toc">
|
|
<li>
|
|
<a href="./add_row.html">Add rows</a>
|
|
</li>
|
|
<li>
|
|
<a href="./multi_filter.html">Individual column searching (text inputs)</a>
|
|
</li>
|
|
<li>
|
|
<a href="./multi_filter_select.html">Individual column searching (select inputs)</a>
|
|
</li>
|
|
<li>
|
|
<a href="./highlight.html">Highlighting rows and columns</a>
|
|
</li>
|
|
<li>
|
|
<a href="./row_details.html">Child rows (show extra / detailed information)</a>
|
|
</li>
|
|
<li>
|
|
<a href="./select_row.html">Row selection (multiple rows)</a>
|
|
</li>
|
|
<li>
|
|
<a href="./select_single_row.html">Row selection and deletion (single row)</a>
|
|
</li>
|
|
<li>
|
|
<a href="./form.html">Form inputs</a>
|
|
</li>
|
|
<li>
|
|
<a href="./counter_columns.html">Index column</a>
|
|
</li>
|
|
<li>
|
|
<a href="./show_hide.html">Show / hide columns dynamically</a>
|
|
</li>
|
|
<li>
|
|
<a href="./api_in_init.html">Using API in callbacks</a>
|
|
</li>
|
|
<li>
|
|
<a href="./tabs_and_scrolling.html">Scrolling and Bootstrap tabs</a>
|
|
</li>
|
|
<li>
|
|
<a href="./regex.html">Search API (regular expressions)</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-2020<br>
|
|
DataTables is licensed under the <a href="http://www.datatables.net/mit">MIT license</a>.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</body>
|
|
</html> |