editor.edit().set().update() to update a field in row

editor.edit().set().update() to update a field in row

OlanOlan Posts: 41Questions: 11Answers: 1

I want to update a field in the selected row when ik click on a tabletools button. I think it is something with
editor
.edit()
.set()
.submit()

but I cannot figure out how to do this. Anyone?

Answers

  • ThomDThomD Posts: 334Questions: 11Answers: 43

    Merit2015 is the field I'm updating in this example.

            dtEditor
                .edit( dtTable.row(rowkey) , false)
                .set( 'Merit2015', amount )
                .submit();
    
This discussion has been closed.