{ render: function ( data, type, row, meta ) { if( data == null ) return ''; return row.{{ $relation['type'] }}.name + ' (' + (row.{{ $relation['type'] }}.production_from ?? '') + ' - ' + (row.{{ $relation['type'] }}.production_to ?? '') + ')'; }, data: '{{ $relation['type'] }}.name', name: '{{ $relation['type'] }}.name', filter: '{{ $relation['type'] }}.name', order: '{{ $relation['type'] }}.name', className: 'align-middle' },