Blame view
static/plugins/datatables/extensions/Responsive/examples/child-rows/index.html
3.58 KB
f96567709 modify page |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 |
<!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"> <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/extras">extras</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-2015<br> DataTables is licensed under the <a href="http://www.datatables.net/mit">MIT license</a>.</p> </div> </div> </div> </section> </body> </html> |