I am creating a ticket payment program for the company's customers to pay. The style is based on Material Design (I'm using the MaterializeCss Framework). I use a table to show all the tickets for the last 2 years.
The problem is that you will have a "More Details" button that by clicking, an area underneath will open, just like a Collapsible (to show boletus observations, a plain text area). But you can not put a Collapsible inside a table. Have you ever had a similar problem, or some way I can do that?
Code I did - >
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" />
<link type="text/css" rel="stylesheet" href="css/materialize.min.css" media="screen,projection" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="container-fluid">
<div class="row valign-wrapper" style="background-color: #f3c71e;">
<div class="col s2 m2 l2 valign">
<i class="material-icons" style="font-size: 30px;
color: #ffffff;">menu</i>
</div>
<div class="col s8 m8 l8">
<h4 class="center-align" style="color: #ffffff;">Boletos</h4>
</div>
<div class="col s2 m2 l2 right-align">
<p style="color: #56b6c2;
font-size: 16px;
letter-spacing: 1px;">SAIR</p>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col s12 m12 l12">
<table class="bordered highlight">
<thead>
<tr>
<th data-field="id">Vencimento</th>
<th data-field="name">Número</th>
<th data-field="price">Ações</th>
</tr>
</thead>
<tbody>
<tr>
<td>10/01/2017</td>
<td>1593574268-63214</td>
<td><i class="material-icons orange-text" style="padding-right: 15px;">open_in_new</i><i class="material-icons blue-grey-text" style="padding-right: 15px;">pages</i><i class="material-icons cyan-text">expand_more</i></td>
</tr>
<tr>
<td>10/02/2017</td>
<td>3571596248-47896</td>
<td><i class="material-icons orange-text" style="padding-right: 15px;">open_in_new</i><i class="material-icons blue-grey-text" style="padding-right: 15px;">pages</i><i class="material-icons cyan-text">expand_more</i></td>
</tr>
<tr>
<td>10/03/2017</td>
<td>5248631798-47928</td>
<td><i class="material-icons orange-text" style="padding-right: 15px;">open_in_new</i><i class="material-icons blue-grey-text" style="padding-right: 15px;">pages</i><i class="material-icons cyan-text">expand_more</i></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</body>
</html>