editor.create or editor.edit dont open form

editor.create or editor.edit dont open form

pmengopmengo Posts: 74Questions: 37Answers: 2
edited April 2016 in Editor

after an update or add a row, editor dont open again.
@ Allan, really need help on this, cannot debugg the issue.
what does this._tidy . How to prevent this function to return false?
http://www.quad-systems.pt/QUAD_HCM/#ajax/datatablePROTODocs.php

Answers

  • allanallan Posts: 63,516Questions: 1Answers: 10,473 Site admin

    Hi,

    Thanks for the link. It isn't immediately obvious what is going wrong here, so I'll need to get back to you when I've had a bit longer to debug the issue. I'll post back here when done.

    Regards,
    Allan

  • pmengopmengo Posts: 74Questions: 37Answers: 2

    thanks. this._tidy return true. Override this behaviour by set editor.s.processing = false

  • pmengopmengo Posts: 74Questions: 37Answers: 2
    edited April 2016

    Also a problem

    tbl.on( 'select', function ( e, dt, type, indexes ) {
    debugger;
    if(e.target.tagName !== 'tr')
    return;
    } );

    e.target.tagName is always 'TABLE' even if i click a button on a column .

    i dont want to select a row if the target is diferent from 'tr'

  • allanallan Posts: 63,516Questions: 1Answers: 10,473 Site admin

    Its the same issue as in our previous discussion on this topic. You aren't executing Editor's callback function in your ajax function.

                ajax: function (data, callback, settings) {
                    myTableName.getData(myTableName.initState, this);
                },
    

    Allan

This discussion has been closed.