Quantcast
Channel: Editor — DataTables forums
Viewing all articles
Browse latest Browse all 3744

Button click to change value

$
0
0

I ask you and please you for help me for small source code for - button click to change value:

  1. example - this is working
$('a.editor_create').on('click', function (e) {
                    e.preventDefault();
                    editor.create({
                        title: 'NEW ROW',
                        buttons: 'CREATE',
                        onEsc: 'blur'
                    });
                });
  1. example:

https://editor.datatables.net/examples/api/triggerButton.html - for add cost price.

I want to source code for I click to CHANGE, then field will changed to value in string - 'YES'.

Thank you.


Viewing all articles
Browse latest Browse all 3744

Trending Articles