jquery - How to disable datatables default sorting? -


i fetching records database , displaying in table. , search used datatables. want disable default sorting of datatables. tried disable sorting using following code

    $('#offer_table').datatable({          "aasorting": []   }); 

its working , issue , shows alert

you cannot reinitialize datatable

how fix problem ? may question silly sorry tried in google fix issue cant able fix. thank you.

this happen due reasons, because tried initialize twice or set properties after initialize.

check link more info issue.


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -