Problem with datatables and classes -overrided- php
Problem with datatables and classes -overrided- php
Hi!!!
I use datatables nightly and in most of my tables i add my data from a json with aaData.But there are 3 tables, that they must have some classes based on some parametres i passed in from other tables to ajax, and check them in server.
So because i dont know a more elegant way to do it, i send back tbody and thead as a string, a replace html of my table after i destroy it , and recreate my datatable.
But because i use scroller (before i use it everything was ok) my classes removed from my table as i recreate my datatable.
Is there a more elegant way to add classes from php or fix this problem?
This is my site
pe.lgaea.com
You have to click on a ΚΑΕΚ, then as you see some tables are populated.
Then click on Τελικές επιμέρους tab, and click on table under Ιδιοκτήτες Τώρα.
Some tables right from and under it populated.
These two tables must have some styles (the right one) on tr and some classes (the bottom one).
Debug code : ivakaq
I use datatables nightly and in most of my tables i add my data from a json with aaData.But there are 3 tables, that they must have some classes based on some parametres i passed in from other tables to ajax, and check them in server.
So because i dont know a more elegant way to do it, i send back tbody and thead as a string, a replace html of my table after i destroy it , and recreate my datatable.
But because i use scroller (before i use it everything was ok) my classes removed from my table as i recreate my datatable.
Is there a more elegant way to add classes from php or fix this problem?
This is my site
pe.lgaea.com
You have to click on a ΚΑΕΚ, then as you see some tables are populated.
Then click on Τελικές επιμέρους tab, and click on table under Ιδιοκτήτες Τώρα.
Some tables right from and under it populated.
These two tables must have some styles (the right one) on tr and some classes (the bottom one).
Debug code : ivakaq
This discussion has been closed.