Permalink
Browse files

Fix the order of parameters in formatCol in addRowData method. Thanks…

… to Oleg.
  • Loading branch information...
1 parent 52eef09 commit c21342570f7f08e6053ae8ed84e358c5b403d1a4 @tonytomov tonytomov committed Sep 14, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/grid.base.js
View
2 js/grid.base.js
@@ -2753,7 +2753,7 @@ $.jgrid.extend({
nm = cm.name;
lcdata[nm] = cm.formatter && typeof(cm.formatter) === 'string' && cm.formatter == 'date' ? $.unformat.date(data[nm],cm) : data[nm];
v = t.formatter( rowid, $.jgrid.getAccessor(data,nm), i, data, 'edit');
- prp = t.formatCol(i,1,v, rowid, data, true);
+ prp = t.formatCol(i,1,v, data, rowid, true);
row += "<td role=\"gridcell\" aria-describedby=\""+t.p.id+"_"+nm+"\" "+prp+">"+v+"</td>";
}
row = "<tr id=\""+rowid+"\" role=\"row\" tabindex=\"-1\" class=\"ui-widget-content jqgrow ui-row-"+t.p.direction+" "+cna+"\">" + row+"</tr>";

0 comments on commit c213425

Please sign in to comment.