There were already a few questions like this, but the answers seemed to reference removing everything via the reset method.

What is the best way to remove a file entry from the file list? I am already handling the 'complete' event, and would like to remove the one specific file entry once it is successfully uploaded.

The reason for this is that I am using Fine Uploader in conjunction with another component that actually displays the uploaded files, however we want to use the power of Fine Uploader for all of the uploading and other advantageous features.

有帮助吗?

解决方案

Have you tried using the getItemByFileId method to get a handle on the file container in the UI?

callbacks: {
    onComplete: function(id) {
        qq(this.getItemByFileId(id)).remove();
    }
}
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top