hi
how put and use edit button in Child rows ?
This question has an accepted answers - jump to answer
You would use a standard jQuery event listener and call the edit() method - passing in the parent row so that is the one that is edited.
edit()
Allan
Thank allan if is possible ,bring an example.
Something as simple as this should do it:
$('#myTable').on( 'click', '...edit-button-selector...', function () { editor.edit( $(this).closest('tr').prev()[0] ); } );
Updating the selector as required of course.
Thank u very much allan
It looks like you're new here. If you want to get involved, click one of these buttons!
Answers
You would use a standard jQuery event listener and call the
edit()
method - passing in the parent row so that is the one that is edited.Allan
Thank allan
if is possible ,bring an example.
Something as simple as this should do it:
Updating the selector as required of course.
Allan
Thank u very much allan