Difference between revisions of "Tabulation getFilterDescriptionVisibility"
Line 1: | Line 1: | ||
− | + | [[Category:Diagram/report_generating_CGScript_functions]] | |
+ | __NOTOC__ | ||
− | + | Check whether the filter info row is shown or not | |
− | === | + | ===Syntax=== |
Tabulation_getFilterDescriptionVisibility(); | Tabulation_getFilterDescriptionVisibility(); | ||
− | === | + | ===Return value=== |
− | + | boolean | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | ===Examples=== | ||
<code> number ReportStyleSheet_RID = 636143; | <code> number ReportStyleSheet_RID = 636143; | ||
Line 50: | Line 46: | ||
createCrossDiagram({"Q9d"},{"D_Week"}); | createCrossDiagram({"Q9d"},{"D_Week"}); | ||
− | |||
− | |||
Line 58: | Line 52: | ||
//True | //True | ||
− | //False | + | //False |
− | + | </code> | |
− | |||
− | |||
− |
Revision as of 05:28, 15 December 2016
Check whether the filter info row is shown or not
Syntax
Tabulation_getFilterDescriptionVisibility();
Return value
boolean
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