Read class from th on every dataTable instance

Read class from th on every dataTable instance

NewcomaNewcoma Posts: 24Questions: 0Answers: 0
edited December 2013 in General
Hello

I'm trying to get dataTables to initialize with options based on classes on the th. So I can in this example get option values into "aoColumns". But It does only work when I have one table instance.

As seen here

http://live.datatables.net/ibuqur/2/edit#javascript,html,live

How do I make it work with multiple tables ?

http://live.datatables.net/onuguw/3/edit#javascript,html,live
This discussion has been closed.