I'm working with a jqgrid and I would like to upload a file (pictures and pdf's). I've seen a lot of examples but nothing... I'd like to do un ajaxfileupload. Here is my code,
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 },
],
I've four days trying and looking for informations and tutoriasl!! help me!