Coding Cheatsheets - Learn web development code and tutorials for Software developers which will helps you in project. Get help on JavaScript, PHP, XML, and more.

Post Page Advertisement [Top]

How to change default sorting & disable sorting.

"order": [[ 7, "desc" ]],
columnDefs: [
  { orderable: false, "targets": -1 }

Notes: 1.It will change default sorting to 7 column
2. Disable sorting form last column.

No comments:

Post a Comment

Bottom Ad [Post Page]