about multiples table
about multiples table
I have two tables with the same header, I am using the sentence "$ ('table.display'). DataTable ()" to construct their datatable. My problem is the following table 1 is small and table 2 is my big one.
I have come across that $ ('table.display'). DataTable () does not allow the use of any command such as ScrollY, ScrollColapse etc.
Could you guide me how this problem can be solved.
Answers
If you want different configurations for the tables then use a more specific selector and initialize each one separately. For example:
Kevin
Those tables are on the same page and I had understood that you can only use a single datatable
See this example with different configs for each table:
http://live.datatables.net/xudowebe/1/edit
The key is the jQuery selector used.
Kevin
Thank, i probe with two table and work very fine