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

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -