Difference between revisions of "Tabulation setFilterDescriptionVisibility"

From Catglobe Wiki
Jump to: navigation, search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:Diagram/report_generating_CGScript_functions]]
+
[[Category:Filter_functions]]
 
__NOTOC__
 
__NOTOC__
  
set value of Show/hide of Filter
+
Show or hide the filter info row
  
 
===Syntax===
 
===Syntax===
  
Tabulation_getFilterDescriptionVisibility(status);
+
Tabulation_setFilterDescriptionVisibility(status);
  
 
===Arguments===
 
===Arguments===
Line 15: Line 15:
  
 
empty
 
empty
 
===Examples===
 
<code>  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&nbsp;:
 
 
  //True
 
 
  //False
 
  </code>
 

Latest revision as of 05:47, 15 December 2016


Show or hide the filter info row

Syntax

Tabulation_setFilterDescriptionVisibility(status);

Arguments

status: a bool value.

Return value

empty