Added col name to <th>, need to store col width.

This commit is contained in:
Martin Edenhofer 2015-10-22 13:19:39 +02:00
parent a3fdfdeb68
commit 237fe9ed0b

View file

@ -14,7 +14,7 @@
<th style="width: 22px"></th>
<% end %>
<% for item, i in @header: %>
<th<%= " class='#{ item.className }'" if item.className %><%= " style='#{ item.style }'" if item.style %>>
<th<%= " class='#{ item.className }'" if item.className %><%= " style='#{ item.style }'" if item.style %> data-column-key="<%= item.name %>">
<div class="table-column-title">
<%- @T( item.display ) %>
<% if item.sortOrderIcon: %>