• Is there any way to sort the table with “aaSorting”: [[4,’desc’]] but disable the possibility for users to order by other column?

Viewing 1 replies (of 1 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    I see two possibilities for this:
    You could simply sort the table by that column on the “Edit” screen (i.e not on the frontend side, but on the admin side) and then disable the sorting of the table in the “DataTables JavaScript Features” section.
    Or you could use the bSortable attribute (see http://datatables.net/usage/columns#bSortable) to disable sorting for certain columns.

    Regards,
    Tobias

Viewing 1 replies (of 1 total)
  • The topic ‘Sort but disable the sorting options for users’ is closed to new replies.