Table Hidden class

General issues related to the use of Metro 4
Post Reply
User avatar
seabeebuc
Posts: 4
Joined: Tue Sep 11, 2018 12:43 am
Status: Offline

Table Hidden class

Post by seabeebuc » Tue Sep 11, 2018 12:47 am

When creating a table, and applying the .hidden class, in conjunction with using the Inspector, the .hidden attribute isn't operated on, keeping the column or columns visible at run time.

Example:


<thead>
<tr>
<th class="sortable-column sort-asc">Name</th>
<th class="sortable-column">Office</th>
<th class="sortable-column" data-format="number">Age</th>
<th class="sortable-column" data-format="date">Start date</th>
<th class="sortable-column hidden" data-format="money">Salary</th>
</tr>
</thead>
<tbody>
<tr>
<td>Tiger Nixon</td>
<td>Edinburgh</td>
<td>61</td>
<td>2011/04/25</td>
<td class="hidden">$320,800</td>
</tr>

User avatar
olton
Site Admin
Posts: 91
Joined: Mon Apr 09, 2018 6:19 pm
Location: Kiev, Ukraine
Status: Offline

Post by olton » Tue Sep 11, 2018 12:53 am

Thx, I fix it in 4.2.22

User avatar
seabeebuc
Posts: 4
Joined: Tue Sep 11, 2018 12:43 am
Status: Offline

Post by seabeebuc » Tue Sep 11, 2018 3:06 pm

Thank you!!

Post Reply