Error Starting DataTables on empty table [WITH PATCH] 1.7.6
Error Starting DataTables on empty table [WITH PATCH] 1.7.6
anthm
Posts: 1Questions: 0Answers: 0
HI,
I saw some documentation that says you require a THEAD with TH elements in them to use the module.
I also saw some examples that suggested that you do not need this. In testing I found it does not work unless you indeed define THEAD and TH therein.
I investigated the code and I was able to notice that the code intended to auto create the THEAD was accidentally creating a TR and the code to transfer the resulting THEAD into the config was also malformed.
Here is a patch that I made which is now working for me.
http://deathstar.freeswitch.org/patches/dt.diff
I saw some documentation that says you require a THEAD with TH elements in them to use the module.
I also saw some examples that suggested that you do not need this. In testing I found it does not work unless you indeed define THEAD and TH therein.
I investigated the code and I was able to notice that the code intended to auto create the THEAD was accidentally creating a TR and the code to transfer the resulting THEAD into the config was also malformed.
Here is a patch that I made which is now working for me.
http://deathstar.freeswitch.org/patches/dt.diff
This discussion has been closed.