I changed my Laravel site template Now I am using from ADMIN LTE 2 for my panel theme but I have a little problem in my data tables In my table, I was enable sorting trait for some rows and the trait works without any problem now But I want to add the sorting icon next to my rows Now this icon does not exist in my rows
In Admin 2, this icon should be displayed for rows where sorting feature is enabled for them.
My table codes:
<script>
$(function () {
$('#table').DataTable({
pageLength: 25,
order: [ [0, 'desc'] ],
ajax: '{!! url($dataURL) !!}',
columns: [
{data: 'id', name: 'id'},
{data: 'package.name', name: 'package.name'},
{data: 'link', name: 'link', sortable:false},
{data: 'price', name: 'amount', sortable:false, searchable:false},
{data: 'quantity', name: 'quantity', sortable:false},
{data: 'start_counter', name: 'start_counter', sortable:false, searchable:false},
{data: 'remains', name: 'remains', sortable:false, searchable:false},
{data: 'created_at', name: 'created_at'},
{data: 'status', name: 'status'}
]
});
})
</script>