修正ie不支持trim()和easyui datagrid 的rowStyler用法
/* * 修正ie不支持trim(); */ String.prototype.trim = function () { return this .replace(/^\s\s*/, '' ).replace(/\s\s*$/, '' ); }; $('#tt').datagrid({ rowStyler: function(index,row){
原创
2013-10-21 17:02:06 ·
2594 阅读 ·
0 评论