jqgrid – upload a file in add/edit dialog

I’m new to jqgrid and I have learn many things through your answer.

Now I have a problem: I want to upload files when adding or modifying records to a jqgrid?


This is my code:


{ name: 'File', index: 'file', hidden: true, enctype:"multipart/form-data", editable: true, edittype: 'file', editrules: { edithidden: true, required: true }, formoptions: { elmsuffix: ' *'} }


However the field I got in controller always be null :( . Any suggestion

Thanks in advance

newest questions tagged jquery – Stack Overflow

About Admin