Get all rows/data which has been edited everytime

Get all rows/data which has been edited everytime

MarxItMarxIt Posts: 4Questions: 2Answers: 1
edited October 2019 in Free community support

Hello,

I'm right now hardstuck at the attempt to get this working :s
I want to store EVERY change in my Datatables in another MySQL "history" table.
(to make it possible to revert changes or look them up).

I want to store all edited rows as rows in my "history" table, no matter if the "EDIT" Popup Menu or inline editing is used.

How could I realize this? Only thing i could find is this column specific function which I also can't get to work properly.
Return value "d" is always UNDEFINED.

$(editor.field('edc_artnr').input()).on('change', function (e, d) {      
      console.log(e + "   " + d); 
      if (!d && !d.editor) {
              console.log("change successful " + e + "  " + d);
      }
})

Here is my table/editor code (Asp.NET)

https://puu.sh/EtAWl/1e0b03dde2.txt

Greetings
Gerrit

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,143Questions: 1Answers: 2,586
    Answer ✓

    Hi @MarxIt ,

    This section of the manual sounds like it applies to you - can you take a look please and see if it gets you going,

    Cheers,

    Colin

  • MarxItMarxIt Posts: 4Questions: 2Answers: 1

    That fully helped me!

    Thank you very much for the quick quality response!

This discussion has been closed.