Yes indeed this can be done, you simply need to use the `edit` API method:
[code]
// Automatically submit an edit without showing the user the form
editor.edit( TRnode, null, null, false );
editor.set( 'name', 'Updated name' );
editor.set( 'access', 'Read only' );
editor.submit();
[/code]
where `TRnode` is the row element you want to edit. Used with `set` and `submit` methods you can automate an update. The documentation for the edit method is available here: http://editor.datatables.net/api/#edit
Replies
Yes indeed this can be done, you simply need to use the `edit` API method:
[code]
// Automatically submit an edit without showing the user the form
editor.edit( TRnode, null, null, false );
editor.set( 'name', 'Updated name' );
editor.set( 'access', 'Read only' );
editor.submit();
[/code]
where `TRnode` is the row element you want to edit. Used with `set` and `submit` methods you can automate an update. The documentation for the edit method is available here: http://editor.datatables.net/api/#edit
Regards,
Allan