Lightbox won't work
Lightbox won't work

I may be doing this wrong, but for the editor when adding a new row, I want to use the lightbox like in the examples.
Here is the beginning of the javascript code I have
$(document).ready(function() {
$.fn.dataTable.Editor.display.lightbox.conf.windowPadding = 50;
editor = new $.fn.dataTable.Editor( {
and I'm bringing in the editor script as follows:
<script type="text/javascript" language="javascript" src="../../sdk/Editor-PHP-1.6.1/js/dataTables.editor.min.js">
When I click New in the editor for a new entry, I don't get a lightbox. Am I missing something obvious? Thanks
This discussion has been closed.
Answers
Do you bind a call to the
create()
method anywhere? Or how are you using the buttons?Thanks,
Allan
Doenst even work with your own examples
@bremg Can you link to one of those examples that don't work, please.
Colin