Default ordering (sorting)/Basic initialisation (Datatables + Laravel 2022)

Published: 26 June 2022
on channel: Abdelhalim Saïdi
1,180
20

With DataTables you can alter the ordering characteristics of the table at initialisation time. Using the order initialisation parameter, you can set the table to display the data in exactly the order that you want.

The order parameter is an array of arrays where the first value of the inner array is the column to order on, and the second is 'asc' (ascending ordering) or 'desc' (descending ordering) as required. order is a 2D array to allow multi-column ordering to be defined.
Default ordering (sorting) :
https://datatables.net/examples/basic...


On this page of the site you can watch the video online Default ordering (sorting)/Basic initialisation (Datatables + Laravel 2022) with a duration of hours minute second in good quality, which was uploaded by the user Abdelhalim Saïdi 26 June 2022, share the link with friends and acquaintances, this video has already been watched 1,180 times on youtube and it was liked by 20 viewers. Enjoy your viewing!