jquery plugins - How to remove sorting option from DataTables? -
i'm using datatables plugin. don't want use sorting option (to sort columns in asc or desc order) comes default on each <thead>
. how can remove sorting icon?
very similar @ravisolanki07 , it's different way achieve this.
var otable = $('#example').datatable( { "aocolumndefs": [{ "bsortable": false, "atargets": [ 0, 1, 2, 3 ] }, { "bsearchable": false, "atargets": [ 0, 1, 2, 3 ] } });
Comments
Post a Comment