Hi Mike,
thanks for your question, and sorry for the trouble.
The reason for this problem is most likely a JavaScript conflict, that stops the execution of the DataTables JS library in the middle of processing the alternating row colors.
To find out what exactly is causing this, I’d need to take a look at your table. Therefore, please post a link to the page with the table. Thanks!
Regards,
Tobias
Hi Tobias
Thanks for coming back so quickliy.
http://carngerrishcreative.info/sba_dev/clubs-2/
I have made a copy of the table and added under the original table.
The first table has the JS Library turned on, the second table has it turned off. As you can see the first table does not display the odd and even bg colour (set to the same colour in this case)
Regards
Mike
Hi Mike,
thanks for the link.
The reason for this problem is the usage of “colspan” in this table. Unfortunately, the DataTables JavaScript library does not support tables that use this to combine cells.
You will therefore either have to remove all #colspan# and #rowspan# from the table, or turn of the usage of the DataTables library.
Sorry for not having better news.
Regards,
Tobias
Hi Tobias
Thanks for solving this, at least if I know what is possible and what is not, then I can design accordingly.
Best regards
Mike
Hi,
no problem! From what I know, combined cells would cause a lot of extra work for the DataTables JS library, so that the developer can not add support for it at this time.
Best wishes,
Tobias