Ignore empty cells on init
Ignore empty cells on init
Hello there.
I try to display some data based on the simplest example:
http://datatables.net/examples/basic_init/zero_configuration.html
I print data as html from database using php, with a lot of additional data from different databases and tables. That's why I decide to not use server-side options, becouse I'm not advanced user, I have to do the table fast and I have only one goal - It must work.
I've got some empty cells (without <td></td> - ! ) in my data - they have to be empty. It not disrutps substance of data, becouse I print cells from left to right, and if one of cells is empty - the rest of row is empty too.
DataTables of course throws an error. After accepting alert everything works fine - searchich, sorting, pagination....
Is there any way to load table without alert on init? It may be workarounds or normal methods ;)
Answers
Ok, I found workaround. I just prevent all alerts by overvriting :