页面树结构

版本比较

标识

  • 该行被添加。
  • 该行被删除。
  • 格式已经改变。

...

代码块
/** * 类型:ClientSide * 对象:交叉表(数据模型) * 事件:onBeforeRender * 实现效果:交叉表(数据模型)只有一个度量字段时就隐藏列。 */
function main(page: IPage, portlet: ITablePortlet) {  
  let config = {        type: ['TABLE_CROSS']    }  
  if (config.type.indexOf(portlet.getType()) !== -1) {     
   // 调宏接口        
	portlet.hideOnlyOneMeasureNameColumn() 
   }}    

...