How to display processing loader on custom button click

How to display processing loader on custom button click

hafizctnhafizctn Posts: 5Questions: 3Answers: 0
edited December 2022 in Free community support

Is there a way I can display processing loader when clicked on a custom button?

text: '<i class="fa fa-trash"></i> Delete Selected',
enabled: false,
action: function () {   
    //show loader/processing 
    if (!confirm('Are you sure want to delete selected items?')) {
        return;
    }
    //hide loader/processing 
}

This question has an accepted answers - jump to answer

Answers

Sign In or Register to comment.