DataTables Js Enable Disable Sorting

preview_player
Показать описание
Hi friends,

In this video, you will learn how to Enable / Disable Sorting, also how to Enable / Disable particular column for sorting, and How to make particular column ASC / DESC by default

Let me know if you have any further questions

Thanks :)
Рекомендации по теме
Комментарии
Автор

Love these simple but useful tutorials. Thank you!

ravocean
Автор

Thank you so much for your time and effort!

bahtinyuyclifford
Автор

Thanks a lot man, you do not idea how much you help me with this one... another question when the datatable with json is empty this givme a message of error... what can i do to solve that? please

aldoestebanverazuniga
Автор

There are many big tech youtubers but the problem with them is they ignore these kind of topics I don't know why, but you did a good job brother. You solve half of my problem but I still have one problem. In my table I have a serial no column, I don't want serial number order to be changed when I order my records according to other columns for example if I order by age I don't want my serial number column to change their ordering they should be in order 1, 2, 3, 4, 5 and so on. can you tell me how can I do that ?

airfleetmanagers
Автор

Thank you for this video really helped me.

AngelloSixty
Автор

Sir my table only has <th> and there is no <td> and i am having a date column but it's not getting sorted.what to do sir?

sheebha
Автор

Thank you. My problem is even after adding the index 0 as target on false orderable. my first column still have the sorting appearance in the table. and i want it to disappear

Haleymrn
Автор

How can I disable/enable time by date, for example 07/07/2022 12:00PM is off but on 08/07/2022?

hudayberdiasyrow
Автор

How do i disable the sorting for columns without data?

abreracc
Автор

My date is being displayed as idea how to sort this out??

shruthins
Автор

source code is
$(document).ready( function(){

"searching": true,
"paging": true,
"order": [[3, 'desc']],
"ordering": 1,
"columnDefs": [{
"targets": [0, 1, 2],
"orderable": false
}]
})
})

ur