Difference between revisions of "Tabulation setFilterDescriptionVisibility"

From Catglobe Wiki
Jump to: navigation, search
(Created page with "== <span class="mw-headline" id="Tabulation_getFilterDescriptionVisibility">Tabulation_getFilterDescriptionVisibility</span> == set value of Show/hide of Filter === <span cl...")
 
Line 15: Line 15:
 
none
 
none
  
'''Examples:''' <code></code>
+
'''Examples:'''  
  
 
  <code>  number ReportStyleSheet_RID = 636143;
 
  <code>  number ReportStyleSheet_RID = 636143;
 
   
 
   
  // Convert the Report Style Sheet RID to Report Style Sheet ID
+
  // Convert the Report Style Sheet RID to Report Style Sheet ID
 
   
 
   
  string ReportStyleSheet_GUID = getResourceGuid(ReportStyleSheet_RID);
+
  string ReportStyleSheet_GUID = getResourceGuid(ReportStyleSheet_RID);
 
   
 
   
  number ReportStyleSheet_ID = getResourceIdFromGuid(ReportStyleSheet_GUID);
+
  number ReportStyleSheet_ID = getResourceIdFromGuid(ReportStyleSheet_GUID);
 
   
 
   
  // Use the specified Report Style Sheet
+
  // Use the specified Report Style Sheet
 
   
 
   
  setReportStyleSheetId(ReportStyleSheet_ID);
+
  setReportStyleSheetId(ReportStyleSheet_ID);
 
   
 
   
 
   
 
   
 
   
 
   
  // add a filter
+
  // add a filter
 
   
 
   
  addFilter("D_Week == [201401-201452]");
+
  addFilter("D_Week == [201401-201452]");
 
   
 
   
  bool before = Tabulation_getTotalColumnVisibility();
+
  bool before = Tabulation_getTotalColumnVisibility();
 
   
 
   
  print(before);
+
  print(before);
 
   
 
   
  // set hidden
+
  // set hidden
 
   
 
   
  Tabulation_setTotalColumnVisibility(false);
+
  Tabulation_setTotalColumnVisibility(false);
 
   
 
   
  bool after = Tabulation_getTotalColumnVisibility();
+
  bool after = Tabulation_getTotalColumnVisibility();
 
   
 
   
  print(after);
+
  print(after);
 
   
 
   
  // create cross
+
  // create cross
 
   
 
   
  createCrossDiagram({"Q9d"},{"D_Week"});
+
  createCrossDiagram({"Q9d"},{"D_Week"});
 
   
 
   
 
   
 
   
 
   
 
   
 
   
 
   
  // result&nbsp;:
+
  // result&nbsp;:
 
   
 
   
  //True
+
  //True
 
   
 
   
  //False</code>
+
  //False</code>
  
 
'''Availability'''
 
'''Availability'''
  
 
Version 5.8
 
Version 5.8

Revision as of 08:44, 16 July 2015

Tabulation_getFilterDescriptionVisibility

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