Can't find an example anywhere.
I have the row index of tableInvoices
$('#dtInvoices').on( 'select.dt', function ( e, dt, type, indexes ) {
selectedInvoiceID = tableInvoices.cell('.selected', 0).data();
if (currentInvoiceID !== selectedInvoiceID )
{
selectedInvoiceIndex = table.row( this ).index() ;
}
} );
Elsewhere I calculate some totals and need to post these into dtInvoices
I see
editorInvoices.set( 'invoice.totalNett', (total));
What is the syntax to update ( column 'invoice.totalNett' row selectedInvoiceIndex )
Cheers
Steve Warby