标签:io ar sp for on cti bs ad amp
datagrid:
loadFilter: function (data) {
return loadFilter(data); //自定义过滤方法
},
//自定义过滤方法
function loadFilter(data) {
for (var i = 0; i < data.rows.length; i++) {
for (var att in data.rows[i]) {
if (typeof (data.rows[i][att]) == "string") {
//data.rows[i][att] = data.rows[i][att].replace(/</g, "<").replace(/>/g, ">");
data.rows[i][att] = unescape(data.rows[i][att]);
}
}
}
return data;
}
标签:io ar sp for on cti bs ad amp
原文地址:http://www.cnblogs.com/handsomer/p/4117915.html