forked from jquery-archive/jquery-mobile
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreflow-options.html
More file actions
67 lines (52 loc) · 2.8 KB
/
reflow-options.html
File metadata and controls
67 lines (52 loc) · 2.8 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>jQuery Mobile Docs - Responsive Table</title>
<link rel="stylesheet" href="../../css/themes/default/jquery.mobile.css" />
<link rel="stylesheet" href="../_assets/css/jqm-docs.css"/>
<script src="../../js/jquery.js"></script>
<script src="../../docs/_assets/js/jqm-docs.js"></script>
<script src="../../js/"></script>
</head>
<body>
<div data-role="page" class="type-interior">
<div data-role="header" data-theme="f">
<h1>Table: Reflow</h1>
<a href="../../" data-icon="home" data-iconpos="notext" data-direction="reverse">Home</a>
<a href="../nav.html" data-icon="search" data-iconpos="notext" data-rel="dialog" data-transition="fade">Search</a>
</div><!-- /header -->
<div data-role="content">
<div class="content-primary">
<h2>Reflow table mode</h2>
<ul data-role="controlgroup" data-type="horizontal" class="localnav">
<li><a href="table-reflow.html" data-role="button" data-transition="fade">Basics</a></li>
<li><a href="reflow-options.html" data-role="button" data-transition="fade" class="ui-btn-active">Options</a></li>
<li><a href="reflow-methods.html" data-role="button" data-transition="fade">Methods</a></li>
<li><a href="reflow-events.html" data-role="button" data-transition="fade">Events</a></li>
</ul>
<p>The reflow mode has one option, <code>classes</code>, which is only configurable via JavaScript because it expects an object literal value. The <code>classes</code> option has two properties that define the structural classnames that the plugin uses:</h3>
<dl>
<dt><code>classes.reflowTable</code> (default: "ui-table-reflow")</dt><dd>Class added to the generated label content added to each table cell based on the header name</dd>
<dt><code>classes.cellLabels</code> (default: "ui-table-cell-label")</dt><dd>Class added to the first cell within each grouped header's column. This makes it easy to style these differently to visually delineate the column groups.</dd>
</dl>
</div><!--/content-primary -->
<div class="content-secondary">
<div data-role="collapsible" data-collapsed="true" data-theme="b" data-content-theme="d">
<h3>In this section</h3>
<ul data-role="listview" data-theme="c" data-dividertheme="d">
<li data-role="list-divider">Tables</li>
<li data-theme="a"><a href="table-reflow.html">Reflow mode</a></li>
<li><a href="table-column-toggle.html">Column toggle mode</a></li>
</ul>
</div>
</div>
</div><!-- /content -->
<div data-role="footer" class="footer-docs" data-theme="c">
<p class="jqm-version"></p>
<p>Copyright 2013 The jQuery Foundation</p>
</div>
</div><!-- /page -->
</body>
</html>