DataTables with POPbox plugin
DataTables with POPbox plugin
I am using DataTables (1.9.4) to display data and POPbox plugin (http://gristmill.github.com/jquery-popbox/) to display a simple pop up on click of the column header.
POPbox mandates certain nested structure to work. Based on this I have en-wrapped my 5th column's header text. Now the table doesn't load properly.
There is an error at the line 3500 of jquery.dataTables.js - 'firstChild' is null or not an object
I have given below my HTML. Is the which is creating the problem? Any workaround?
[code]
Column 1
Column 2
Column 3
Column 4
Column 5
Title of the pop box:
Text row
Close
Column 6
[/code]
POPbox mandates certain nested structure to work. Based on this I have en-wrapped my 5th column's header text. Now the table doesn't load properly.
There is an error at the line 3500 of jquery.dataTables.js - 'firstChild' is null or not an object
I have given below my HTML. Is the which is creating the problem? Any workaround?
[code]
Column 1
Column 2
Column 3
Column 4
Column 5
Title of the pop box:
Text row
Close
Column 6
[/code]
This discussion has been closed.
Replies
Allan
This is an internal application. I can try to bring a test cases soon using http://live.datatables.net/ . But I need to import POPbox's js and css to demonstrate this case. How can import these files into the test case? Since I don't have any public server hosted I cannot provide a direct link to POPbox's js and css.
I don't need a full page (indeed it isn't really desirable!) I just need the simplest test case showing the issue, so I can then debug it. For example, the HTML that you not that is causing an issue actually appears to work for me:
http://live.datatables.net/iwozun/edit#javascript,html
So there is something happening to the HTML that breaks things.
Allan
I have included a test case here. But the table is coming up in this case.
http://live.datatables.net/ebezes/edit#preview
I am using DataTables 1.9.4. But this version is not available for selection in live window.
Possibly, but without being able to see those options, I've no idea if that is the issue :-).
Thanks for pointing out the 1.9.4 not being the live list. I'll add it in soon.
Allan
I have added all the config options.