2013-07-25 36 views
0

我正在使用jqgrid,我想上傳一個文件(圖片和PDF文件)。我見過很多例子,但沒有任何...我想做un ajaxfileupload。這裏是我的代碼,用Jqgrid和Ajaxfileupload上傳文件

colModel: [ 
     { name: "id", index:"id", key: true,width: 30,editable: false }, 

     { name: "name", index:"name", width: 100,editable: true },   
     { name: "fileToUpload", 
      editoptions: { 
       enctype: "multipart/form-data" 
      }, 
      edittype:'file', 
      index: 'fileToUpload', 
      width: 150, 
      align: "left", 
      editable: true }, 
    ], 

我已經四天試圖尋找信息和tutoriasl!幫我!

+0

您是否看到此問題:http://stackoverflow.com/questions/7550304/jqgrid-upload-a-file-in-add-edit-dialog – david

+0

是的,我已經看到了這個問題。我正在使用它。我認爲問題是與ajaxuploadfile的URL。 – Peluco

+0

我在url中調用了doajaxfileupload.php,但沒有任何結果... – Peluco

回答

相關問題