Skins/plugins/datatables/extensions/Responsive/examples/child-rows/index.html
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<!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="../../../../examples/resources/syntax/shCore.css">
<link rel="stylesheet" type="text/css" href="../../../../examples/resources/demo.css">
<script type="text/javascript" language="javascript" src="../../../../examples/resources/syntax/shCore.js"></script>
<script type="text/javascript" language="javascript" src="../../../../examples/resources/demo.js"></script>
<title>Responsive examples - Child row control</title>
</head>
<body class="dt-example">
<div class="container">
<section>
<h1>Responsive example <span>Child row control</span></h1>
<div class="info">
<p>When a column is removed from display by Responsive, the data is still available in the table and can be displayed in a DataTables <em>child row</em> (see
<a href="//datatables.net/reference/api/row().child()"><code class="api" title="DataTables API method">row().child()<span>DT</span></code></a>). By default
Responsive will show child row controls in the first column when the table has been collapsed, allowing the end user to show / hide the information from the hidden
columns.</p>
<p>Responsive has a number of options for display of the child rows:</p>
<ul class="markdown">
<li>If child row display is enabled: <a href="//datatables.net/extensions/responsive/reference/option/responsive.details"><code class="option" title=
"Responsive initialisation option">responsive.details<span>R</span></code></a></li>
<li>How the show / hide control is displayed: <a href="//datatables.net/extensions/responsive/reference/option/responsive.details.type"><code class="option"
title="Responsive initialisation option">responsive.details.type<span>R</span></code></a></li>
<li>How the child row is rendered: <a href="//datatables.net/extensions/responsive/reference/option/responsive.details.renderer"><code class="option" title=
"Responsive initialisation option">responsive.details.renderer<span>R</span></code></a></li>
</ul>
<p>This section shows examples of these options being 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">Child rows</a></h3>
<ul class="toc">
<li><a href="./disable-child-rows.html">Disable child rows</a></li>
<li><a href="./column-control.html">Column controlled child rows</a></li>
<li><a href="./right-column.html">Column control - right</a></li>
<li><a href="./whole-row-control.html">Whole row child row control</a></li>
<li><a href="./custom-renderer.html">Custom child row renderer</a></li>
</ul>
</div>
</div>
<div class="epilogue">
后面还有 12 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
