//隐藏
getClass: function(v, meta, rec) {
if ( someCondition ) { return 'x-hidden' } }
//加入其他样式
getClass: 
function(v, meta, rec) {      

            if ( someCondition ) {

                  return 'someCss';

            else {

                  return 'emptyCss';

            }

      }
//禁用
 return this.disabledCls; 
 

 

相关文章: