Difference between revisions of "Tabulation setFilterDescriptionVisibility"
Line 1: | Line 1: | ||
[[Category:Diagram/report_generating_CGScript_functions]] | [[Category:Diagram/report_generating_CGScript_functions]] | ||
__NOTOC__ | __NOTOC__ | ||
− | |||
set value of Show/hide of Filter | set value of Show/hide of Filter | ||
− | === <span | + | === <span style="-webkit-user-select: none; float: right; font-size: 12.8409595489502px; font-weight: normal; margin-left: 5px;">[[http://wiki.catglobe.com/index.php?title=Tabulation_getFilterDescriptionVisibility&action=edit§ion=2 edit]]</span><span class="mw-headline" id=".5Bedit.5DSyntax"><span class="editsection" style="-webkit-user-select: none; float: right; font-size: 12.8409595489502px; font-weight: normal; margin-left: 5px;">[[http://wiki.catglobe.com/index.php?title=QAS_new&action=edit§ion=2 edit]]</span><span class="mw-headline" id="Syntax">Syntax</span></span> === |
Tabulation_getFilterDescriptionVisibility(status); | Tabulation_getFilterDescriptionVisibility(status); | ||
− | === <span | + | === <span style="-webkit-user-select: none; float: right; font-size: 12.8409595489502px; font-weight: normal; margin-left: 5px;">[[http://wiki.catglobe.com/index.php?title=Tabulation_getFilterDescriptionVisibility&action=edit§ion=3 edit]]</span><span class="mw-headline" id=".5Bedit.5DArguments"><span class="editsection" style="-webkit-user-select: none; float: right; font-size: 12.8409595489502px; font-weight: normal; margin-left: 5px;">[[http://wiki.catglobe.com/index.php?title=QAS_new&action=edit§ion=3 edit]]</span><span class="mw-headline" id="Arguments">Arguments</span></span> === |
<span class="mw-headline">status : a bool value.</span> | <span class="mw-headline">status : a bool value.</span> | ||
− | === <span | + | === <span style="-webkit-user-select: none; float: right; font-size: 12.8409595489502px; font-weight: normal; margin-left: 5px;">[[http://wiki.catglobe.com/index.php?title=Tabulation_getFilterDescriptionVisibility&action=edit§ion=4 edit]]</span><span class="mw-headline" id=".5Bedit.5DReturn_value"><span class="editsection" style="-webkit-user-select: none; float: right; font-size: 12.8409595489502px; font-weight: normal; margin-left: 5px;">[[http://wiki.catglobe.com/index.php?title=QAS_new&action=edit§ion=4 edit]]</span><span class="mw-headline" id="Return_value">Return value</span></span> === |
none | none | ||
− | + | ==Examples:== | |
− | |||
<code> number ReportStyleSheet_RID = 636143; | <code> number ReportStyleSheet_RID = 636143; | ||
Revision as of 05:23, 15 December 2016
set value of Show/hide of Filter
[edit][edit]Syntax
Tabulation_getFilterDescriptionVisibility(status);
[edit][edit]Arguments
status : a bool value.
[edit][edit]Return value
none
Examples:
number ReportStyleSheet_RID = 636143;
// Convert the Report Style Sheet RID to Report Style Sheet ID
string ReportStyleSheet_GUID = getResourceGuid(ReportStyleSheet_RID);
number ReportStyleSheet_ID = getResourceIdFromGuid(ReportStyleSheet_GUID);
// Use the specified Report Style Sheet
setReportStyleSheetId(ReportStyleSheet_ID);
// add a filter
addFilter("D_Week == [201401-201452]");
bool before = Tabulation_getTotalColumnVisibility();
print(before);
// set hidden
Tabulation_setTotalColumnVisibility(false);
bool after = Tabulation_getTotalColumnVisibility();
print(after);
// create cross
createCrossDiagram({"Q9d"},{"D_Week"});
// result :
//True
//False
Availability
Version 5.8