how to add processing icon for datatable create button

how to add processing icon for datatable create button

THEJASVITHEJASVI Posts: 31Questions: 9Answers: 0


while creating new entry on the in edit datatable when click on create button how to change that button into a processing icon on create button

Replies

  • allanallan Posts: 61,609Questions: 1Answers: 10,088 Site admin
    edited September 2018

    Hi,

    There isn't an API specifically to make a button in the Editor submit buttons show in a processing state, however it is possible via CSS. Editor adds processing as a class to the div.DTE element when it is processing (submitting) so you could use:

    div.DTE.processing div.DTE_Form_Buttons button {
      /* ... processing styling */
    }
    

    Allan

  • THEJASVITHEJASVI Posts: 31Questions: 9Answers: 0

    hi
    we have any click event for create button onclick in datatable ?

  • allanallan Posts: 61,609Questions: 1Answers: 10,088 Site admin

    No - Editor's API doesn't present an option to add an onclick event listener to it as such. Instead listen for preSubmit.

    Allan

This discussion has been closed.