Getting row data in editor event

Getting row data in editor event

nlooijenlooije Posts: 20Questions: 4Answers: 0

Link to test case: http://live.datatables.net/pinigova/4/edit

Description of problem: I want to show row data from the clicked row in the title of the edit form. I want to do this by using the open Editor event and then using the editor.title() method only when action = 'edit'.
However, i am having trouble accessing the row data of the row to be editted. Using the suggested methods table.rows({selected: true}) and table.row(this).data() don't work (as far as i can tell) because it's not a DataTable event.
Any suggestions?

regards,
Niels

Replies

Sign In or Register to comment.