在很多业务场景,尤其是表格式报表的需求,很多情况都需要表格可以像在Excel中,那样“收放自如”!即大纲显示。
本修改是在web server为tomcat的情景:
首先,进入到C:\Program Files\Apache Software Foundation\Tomcatx\webapps\MicroStrategy\WEB-INF\xml文件夹下,找到文件styleCatalog.xml,
用记事本打开,搜索style ReportOutlineModeStyle_forRW ,找到staticOutlineMode,将其值改为false,如下:
<Style description="Style: Display Grid in outline mode within RWD"
name="ReportOutlineModeStyle_forRW" transform="ReportOutlineModeTransform">
<ActualParameters>
<ActualParameter name="iframeEnabled" type="4"
value="true" />
<ActualParameter name="generateJSForDrillCheckBoxesForIncFetch"
type="4" value="false" />
<ActualParameter name="staticOutlineMode" type="4"
value="false" />
<ActualParameter name="showDescriptionAsTooltip"
type="2" source="preference" value="showDescriptionAsTooltip" />
<ActualParameter name="showSubtitle" type="1"
source="preference" value="showSubtitle" />
<ActualParameter name="useImagesForOutlineMode"
type="4" source="preference" value="useImagesForOutlineMode" />
<ActualParameter name="contextMenus" type="1"
value="/WEB-INF/xml/config/reportCellContextMenus.xml" />
<ActualParameter name="drillRetainParent" type="1"
source="preference" value="drillRetainParent" />
<ActualParameter name="drillRetainThresholds" type="1"
source="preference" value="drillRetainThresholds" />
<ActualParameter name="advancedDrillingContextMenuDisplay"
type="2" value="2" />
<ActualParameter name="sortSetNamesAndDrillPaths"
type="4" source="preference" value="sortSetNamesAndDrillPaths" />
<ActualParameter name="groupContextMenuDrillPathsByType"
type="4" source="preference" value="groupContextMenuDrillPathsByType" />
</ActualParameters>
注:此模式不适用与10版本以后的演示模式。