Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Tabulation getFilterDescriptionVisibility: Difference between revisions

From Catglobe Wiki
Hovietluu (talk | contribs)
No edit summary
Tungocman (talk | contribs)
No edit summary
Line 1: Line 1:
== <span class="mw-headline" id="QAS_new">Tabulation_getFilterDescriptionVisibility</span> ==
[[Category:Diagram/report_generating_CGScript_functions]]
__NOTOC__


get value of Show/hide of Filter
Check whether the filter info row is shown or not


=== <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> ===
===Syntax===


Tabulation_getFilterDescriptionVisibility();
Tabulation_getFilterDescriptionVisibility();


=== <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> ===
===Return value===


<span class="mw-headline">none</span>
boolean
 
=== <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> ===
 
Result is bool value.
 
'''Examples:''' <code></code>


===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</code>
   //False
 
</code>
<code>'''Availability'''</code>
 
<code>Version 5.8</code> &lt;/div&gt;

Revision as of 04: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