Difference between revisions of "Tabulation setFilterDescriptionVisibility"

From Catglobe Wiki
Jump to: navigation, search
Line 4: Line 4:
 
set value of Show/hide of Filter
 
set value of Show/hide of Filter
  
=== <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&section=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&section=2 edit]]</span><span class="mw-headline" id="Syntax">Syntax</span></span> ===
+
===Syntax===
  
 
Tabulation_getFilterDescriptionVisibility(status);
 
Tabulation_getFilterDescriptionVisibility(status);
  
=== <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&section=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&section=3 edit]]</span><span class="mw-headline" id="Arguments">Arguments</span></span> ===
+
===Arguments===
  
<span class="mw-headline">status&nbsp;: a bool value.</span>
+
status: a bool value.
  
=== <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&section=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&section=4 edit]]</span><span class="mw-headline" id="Return_value">Return value</span></span> ===
+
===Return value===
  
none
+
empty
  
==Examples:==
+
===Examples===
 
  <code>  number ReportStyleSheet_RID = 636143;
 
  <code>  number ReportStyleSheet_RID = 636143;
 
   
 
   
Line 58: Line 58:
 
   //True
 
   //True
 
   
 
   
   //False</code>
+
   //False
 
+
  </code>
'''Availability'''
 
 
 
Version 5.8
 

Revision as of 05:25, 15 December 2016


set value of Show/hide of Filter

Syntax

Tabulation_getFilterDescriptionVisibility(status);

Arguments

status: a bool value.

Return value

empty

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