Loading ...
Sorry, an error occurred while loading the content.

Re: [ydn-javascript] Re: File uploader, how can I cancel one file from the list of file

Expand Messages
  • bahalul kabir
    Thanx bill for quick reply.But you know I am new in YUI but I want to know well about it. Inside upload table I must have link or button for remove particular
    Message 1 of 3 , Sep 11, 2009
    • 0 Attachment
      Thanx bill for quick reply.But you know I am new in YUI but I want to know well about it.
      Inside upload table I must have link or button for remove particular file.Then it will call the function ,right? But I don't know How to do it?
      The code:
      var myColumnDefs = [
               {key:"name", label: "File Name", sortable:true},
             {key:"size", label: "Size", sortable:true},
             {key:"progress", label: "Upload progress", sortable:false},
                  {key:"id", label: "cancel", sortable:false}           
           ];
         this.myDataSource = new YAHOO.util.DataSource(dataArr);
         this.myDataSource.responseType = YAHOO.util.DataSource.TYPE_JSARRAY;
            this.myDataSource.responseSchema = {
                fields: ["id","name","created","modified","type", "size", "progress"]
            };
       
      Anyone can help!
       
      Regards,
      Kabir


      From: viruschidai <viruschidai@...>
      To: ydn-javascript@yahoogroups.com
      Sent: Friday, September 11, 2009 1:56:17 AM
      Subject: [ydn-javascript] Re: File uploader, how can I cancel one file from the list

       

      try this,
      uploader.cancel( fileID);

      regards,
      Bill

      --- In ydn-javascript@ yahoogroups. com, bahalul kabir <bahar_aub@. ..> wrote:
      >
      > I am using file Advanced Uploader Example With Transparent UI and Automatic Queue Management:
      >
      > For example I upload 3 files and want to cancel one from the list. How can I do it?
      >


    Your message has been successfully submitted and would be delivered to recipients shortly.