Put grid layout inside collapsible listview
Description
The following code shows how to put grid layout inside collapsible listview.
Example
<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
src='http://code.jquery.com/jquery-1.8.3.js'></script>
<link rel="stylesheet"
href="http://code.jquery.com/mobile/latest/jquery.mobile.min.css" />
<script src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
<script src="http://code.jquery.com/mobile/latest/jquery.mobile.min.js"></script>
</head><!--from www. j av a 2 s.c o m-->
<body>
<div data-role="page">
<div data-role="content">
<div data-role="collapsible" data-theme="b" data-inset="true">
<h3>
<div class="ui-grid-a">
<div class="ui-block-a">Customer:</div>
<div class="un-block-b">Plumbing</div>
</div>
</h3>
<ul data-role="listview">
<li><div class="ui-grid-a">
<div class="ui-block-a">Phone:</div>
<div class="ui-block-b">1-800-MUS-ROOM</div>
</div></li>
<li><div class="ui-grid-a">
<div class="ui-block-a">More data:</div>
<div class="ui-block-b">blah blah blah</div>
</div></li>
</ul>
</div>
</div>
</div>
</body>
</html>