index.html 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico">
  6. <meta name="viewport" content="initial-scale=1.0, maximum-scale=2.0">
  7. <link rel="stylesheet" type="text/css" href="../../../../examples/resources/syntax/shCore.css">
  8. <link rel="stylesheet" type="text/css" href="../../../../examples/resources/demo.css">
  9. <script type="text/javascript" language="javascript" src="../../../../examples/resources/syntax/shCore.js"></script>
  10. <script type="text/javascript" language="javascript" src="../../../../examples/resources/demo.js"></script>
  11. <title>Responsive examples - Child row control</title>
  12. </head>
  13. <body class="dt-example">
  14. <div class="container">
  15. <section>
  16. <h1>Responsive example <span>Child row control</span></h1>
  17. <div class="info">
  18. <p>When a column is removed from display by Responsive, the data is still available in the table and
  19. can be displayed in a DataTables <em>child row</em> (see <a href=
  20. "//datatables.net/reference/api/row().child()"><code class="api" title=
  21. "DataTables API method">row().child()<span>DT</span></code></a>). By default Responsive will show child
  22. row controls in the first column when the table has been collapsed, allowing the end user to show /
  23. hide the information from the hidden columns.</p>
  24. <p>Responsive has a number of options for display of the child rows:</p>
  25. <ul class="markdown">
  26. <li>If child row display is enabled: <a href=
  27. "//datatables.net/extensions/responsive/reference/option/responsive.details"><code class="option"
  28. title="Responsive initialisation option">responsive.details<span>R</span></code></a></li>
  29. <li>How the show / hide control is displayed: <a href=
  30. "//datatables.net/extensions/responsive/reference/option/responsive.details.type"><code class=
  31. "option" title=
  32. "Responsive initialisation option">responsive.details.type<span>R</span></code></a></li>
  33. <li>How the child row is rendered: <a href=
  34. "//datatables.net/extensions/responsive/reference/option/responsive.details.renderer"><code class=
  35. "option" title=
  36. "Responsive initialisation option">responsive.details.renderer<span>R</span></code></a></li>
  37. </ul>
  38. <p>This section shows examples of these options being used.</p>
  39. </div>
  40. </section>
  41. </div>
  42. <section>
  43. <div class="footer">
  44. <div class="gradient"></div>
  45. <div class="liner">
  46. <div class="toc">
  47. <div class="toc-group">
  48. <h3><a href="./index.html">Child rows</a></h3>
  49. <ul class="toc">
  50. <li><a href="./disable-child-rows.html">Disable child rows</a></li>
  51. <li><a href="./column-control.html">Column controlled child rows</a></li>
  52. <li><a href="./right-column.html">Column control - right</a></li>
  53. <li><a href="./whole-row-control.html">Whole row child row control</a></li>
  54. <li><a href="./custom-renderer.html">Custom child row renderer</a></li>
  55. </ul>
  56. </div>
  57. </div>
  58. <div class="epilogue">
  59. <p>Please refer to the <a href="http://www.datatables.net">DataTables documentation</a> for full
  60. information about its API properties and methods.<br>
  61. Additionally, there are a wide range of <a href="http://www.datatables.net/extras">extras</a> and
  62. <a href="http://www.datatables.net/plug-ins">plug-ins</a> which extend the capabilities of
  63. DataTables.</p>
  64. <p class="copyright">DataTables designed and created by <a href=
  65. "http://www.sprymedia.co.uk">SpryMedia Ltd</a> &#169; 2007-2014<br>
  66. DataTables is licensed under the <a href="http://www.datatables.net/mit">MIT license</a>.</p>
  67. </div>
  68. </div>
  69. </div>
  70. </section>
  71. </body>
  72. </html>