Hello everyone, I am going to share the code-sample for how to Reset and Destroy all the uploaded files in Keno UI, The code sample as given below. //Reset all the upload files. $( ".k-upload-files" ). remove (); $( ".k-upload-status" ).remove(); $( ".k-upload.k-header" ).addClass( "k-upload-empty" ); $( ".k-upload-button" ).removeClass( "k-state-focused" ); OR //Destroy all the upload files. $( "#files" ). destroy (); In the above, both destroy and remove are used to reset the uploaded files in Keno UI and Also used to add css class for upload empty and remove the css class focused.
Angular, React, JavaScript, Java, PHP, SQL, C#, Vue, NodeJs, TypeScript and Interview Questions Answers