How to Add field in confirm?
How to Add field in confirm?

I have already added the code something like this
className: 'qa_reassign'
},{
extend: "selected",
text: "Reassign",
action: function ( e, dt, node, config ) {
if(confirm( "Are you sure you want to reassign this transaction?" )){
editor
.edit( table.row( { selected: true } ).index(), false )
.set( 'qa_status', 'Disapproved' )
.set( 'type_ap', '' )
.set( 'qa_approvedby', agent_name )
.submit();
}
},
This discussion has been closed.
Answers
add()
can be used to dynamically add a field to an Editor form.Allan