欢迎使用普元产品知识库,本知识库包含普元应用开发平台EOSPlatform,流程平台BPS,企业服务总线ESB,微服务平台Microservice,运维管理平台Devops,数据集成平台DI
欢迎使用普元文档库
nui.DataGrid.prototype.expand=function(){
this.expanded=true;
if(this._height)
this._viewportEl.style.display="block";
if(this.state!="max")
mini.removeClass(this.el,"mini-panel-collapse");
this.doLayout();
}; 重写
重写GIRD的EXPAND方法,如下:
nui.DataGrid.prototype.expand=function(){
this.expanded=true;
if(this._height)
this._viewportEl.style.display="block";
if(this.state!="max")
mini.removeClass(this.el,"mini-panel-collapse");
this.doLayout();
};