I use the table plug-in for jquery Datatable at my rails app, and i look for a way to delete the whole column if some actions occurs e.g. if a button was clicked.
The table:
<table id="words" class="display" data-source="<%= url_for controller:"words", action: "index", :format=>:json %>" >
<thead>
<tr>
<th><%= l(:name) %></th>
.
.
.
</tr>
</thead>
<tbody>
</tbody>
</table>
How can I do that?