Open coudot opened 1 month ago
Dev notes:
<thead>
<tr>
<th class="hidden-print nosort"> </th>
{foreach $listing_columns as $item}{$type=$attributes_map.{$item}.type}<th class="type-{$type}">{$msg_label_{$item}}</th>{/foreach}
</tr>
</thead>
"aoColumnDefs": [
{ "bSortable": false, "aTargets": ['nosort', 'type-int'] }
],
Following discussion in #122 I propose as first workaround to be able to configure which columns should not be sorted
It implies to add some DOM classes to each columns, and to modify datatables configuration to disable sorting for theses classes.