Hi there,
I not sure what goes wrong, but after choose a file and click on save row button, and this line returned an errorÂ
isEmpty: function(a) { return a.match(/^s+$/) || “” === a ? !0 : !1 }
saying that match is undefined
below is my code
{ name : ‘badge_image’, index : ‘badge_image’, align : “center”, editable : true, editrules: { required: true, number: true }, edittype: ‘file’, unformat: imageUnformat, formatter: imageFormat, editoptions : { enctype: “multipart/form-data” } },
Â
gridComplete: function(){
var ids = jQuery(“#jqgrid”).jqGrid(‘getDataIDs’);
for(var i=0;i < ids.length;i++){
var cl = ids;
be = ““;
se = ““;
ca = ““;Â
//ce = ““;
//jQuery(“#jqgrid”).jqGrid(‘setRowData’,ids,{act:be+se+ce});
jQuery(“#jqgrid”).jqGrid(‘setRowData’,ids,{act:be+se+ca});
}
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top