Lightbox won't work

Lightbox won't work

amweissamweiss Posts: 13Questions: 3Answers: 0

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

Answers

  • allanallan Posts: 61,726Questions: 1Answers: 10,109 Site admin

    Do you bind a call to the create() method anywhere? Or how are you using the buttons?

    Thanks,
    Allan

  • bremgbremg Posts: 4Questions: 0Answers: 0

    Doenst even work with your own examples

  • colincolin Posts: 15,144Questions: 1Answers: 2,586

    @bremg Can you link to one of those examples that don't work, please.

    Colin

This discussion has been closed.