remove row

remove row

Andreas S.Andreas S. Posts: 208Questions: 74Answers: 4

I want to give a message output in the remove modal window. I would add a column of the selected row to the message.
how could i do this?

buttons: [
                {
                    extend: 'remove',
                    editor: delEditor,
                    text: '<i class="fas fa-trash"></i>',
                    titleAttr: 'Delete uploaded file',
                    className: 'text-red bold',
                    action: function( e, dt, button, config ) {
                        delEditor.remove(
                            dt.rows( { selected: true } ),
                            {
                                title: '<i class="fas fa-trash text-red bold"></i> Delete uploaded file',
                                buttons: [
                                    'Remove',
                                    { text: 'Cancel', action: function() { this.close(); } }
                                ],
                                message: message_txt[0]
                            }
                        )
                    }
                }
            ],

Andreas

Answers

This discussion has been closed.