Multiple tables/Basic initialisation (Datatables + Laravel 2022)

Published: 04 August 2022
on channel: Abdelhalim Saïdi
986
14

Multi tables :
Often you might wish to initialise multiple tables with a single statement. This is trivially done by using a jQuery selector which will pick up multiple tables.

The tables are independent for user control (i.e. user controlled paging on one table does not effect the others), but they do share the initialisation parameters given (for example if you specific the Spanish language file, all tables will be shown in Spanish). Additionally, the API can be used to manipulate both together, or independently.

The example below shows two tables initialised with a single line of code, through the use of the table.display selector (i.e. select all elements which have the class of table.display (which is suitable in this example, you might wish to use a different selector).

https://datatables.net/examples/basic...


Watch video Multiple tables/Basic initialisation (Datatables + Laravel 2022) online without registration, duration hours minute second in high quality. This video was added by user Abdelhalim Saïdi 04 August 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 98 once and liked it 1 people.