Get id field value from editor.bubble when firing editor.on('open')

Get id field value from editor.bubble when firing editor.on('open')

daniegloydaniegloy Posts: 35Questions: 12Answers: 5

i need to retrieve the 'id' value of the field in the row being edited. I need this id value to change a row locked value in this row to true.

 $('#example').on( 'click', 'tbody td ', function (e) {

    //clearInterval(Tableinterval);
    editorsheet.bubble( this );

  } );
editorsheet.on( 'open', function () {


// idx = ????? how do i get his value?

   $.ajax({                                      
            url: 'setLock.php',                 
            data: "row_id="+idx+"&locked=true",                   
            async: false,                              
            dataType: 'json',  
            success: function(){
                unLckExit = "None";

            }             
      });




} );

please help. im sure this is really simple. If i can get everything to work perfect , i will be buying a license

Answers

This discussion has been closed.