views/mdc/components/table/column.erb
<% if type == 'header' %>
<th
<% else %>
<td
<% end %>
id="<%= col.id%>"
class="<%= 'mdl-data-table__cell--non-numeric' unless col.numeric? %>
<%= 'v-actionable' if col.events %>"
<%= erb :"components/event", :locals => {comp: col, events: col.events, parent_id: col.event_parent_id}%>
style="<%= "background-color: #{col.color};" if col.color %>"
<%= " colspan=#{col.colspan}" if col.colspan %>>
<%= expand_text(col.value&.text) %>
<%= erb :"components/render", :locals => {:components => col.components, :scope => nil} %>
<% if type == 'header' %>
</th>
<% else %>
</td>
<% end %>