I am using bootstrap 3.2.0, and created a table on each row should be toggle with child hidden row, I gave ( data-toggle=“collapse” data-target=“#1” class=“accordion-toggle” ) and gave corresponding “id” to child row, but its not opening on clicking table row.
!DOCTYPE html>
<html lang="en">
<head>
<link href="assets/css/bootstrap3.2.0.css" rel="stylesheet">
<link href="assets/css/customStyle.css" rel="stylesheet">
<script type="text/javascript" src="assets/js/jquery-2.1.1.min.js"></script>
<script type="text/javascript" src="assets/js/bootstrap.js"></script>
<script type="text/javascript" src="assets/js/bootstrap-datetimepicker.js"></script>
</head>
<body>
<div class="table-responsive tableStyle">
<table id="" class="table table-condensed table-hover table-bordered table-responsive" width="100%" cellspacing="0">
<thead>
<tr>
<th class="width50 dispnone"> </th>
<th>Ticker No.#</th>
<th>Warning</th>
<th>Status</th>
<th>Next Check Time</th>
<th>Asset ID</th>
<th>Asset Type</th>
<th>Reported Trouble Description</th>
<th>Active Org</th>
<th>Ticket Opened On</th>
<th>Last Modified Date</th>
</tr>
</thead>
<tbody>
<tr data-toggle="collapse" data-target="#1" class="accordion-toggle" style="cursor:pointer">
<td><span class="icon_expand"></span> <span class="icon_green"></span></td>
<td>7596322719</td>
<td>normal</td>
<td>Deferred</td>
<td>10:13</td>
<td>ab0o2231</td>
<td>lorem</td>
<td>Lorem ipsum dolor sit</td>
<td>lorem</td>
<td>12/03/216</td>
<td>11/04/216</td>
</tr>
<tr>
<td colspan="11" style="display:none;">
<div class="accordion-body collapse" id="1">
<div class="bs-callout bs-callout-info" style="margin:0px;">
<h4><i class="fa fa-info"></i> Detalles</h4>
<p>
Details for row #1
</p>
</div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>