//列格式化 waf.defineCustomeClass("cellformatter.ratioFomatter", cellformatter.defaultFormatter, { format: function(cellval, rwd){ //alert(rwd['signPayListEntry.appAmount']); if (rwd['name']) { return name } else { return null; } } });