0
I’m trying to make a table with Collapse, but it turns out that by clicking the button Collapse shows, but when trying to hide, it simply doesn’t work.
HTML code
<tr>
<td>
<input type="checkbox" name="chck" id="chck" class="filled-in chk-col-teal">
<label for="rememberme">Título</label>
<div class="collapse" id="collapseExample">
<div class="well">
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. Nihil anim keffiyeh helvetica,
craft beer labore wes anderson cred nesciunt sapiente ea proident.
</div>
</div><!-- faltou esta div -->
</td>
<td style="width:20px">
<button class="btn bg-cyan waves-effect m-b-15" type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">
Detalhes
</button>
</div>
</td>
</tr>
Check there. Missed to close the tag DIV
– Tony
@Tony doesn’t work that way
– Victor Gabriel
Is it Bootstrap? What version of Bootstrap ?
– Tony
no, it’s the materialize
– Victor Gabriel
Leandro posted an answer, using Bootstrap, I tested this one and it worked.
– Tony
Which version of Materialize you are using??
– hugocsl
I’m using the most current
– Victor Gabriel