jbox-web / ajax-datatables-rails

A wrapper around DataTable's ajax methods that allow synchronization with server-side pagination in a Rails app
MIT License
585 stars 228 forks source link

How to define a default sort column? #331

Closed naoyanickf closed 5 years ago

naoyanickf commented 5 years ago

I'm wondering how to define a default sort column. I want to use created_at as default sort column, actually with "desc" option.

Where to define?