문제

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