質問

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