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
Hovietluu (talk | contribs)
No edit summary
Line 15: Line 15:
Result is bool value.
Result is bool value.


'''Examples:'''
'''Examples:''' <code></code>
<div>number ReportStyleSheet_RID = 636143;</div><div>// Convert the Report Style Sheet RID to Report Style Sheet ID</div><div>string ReportStyleSheet_GUID = getResourceGuid(ReportStyleSheet_RID);</div><div>number ReportStyleSheet_ID = getResourceIdFromGuid(ReportStyleSheet_GUID);</div><div>// Use the specified Report Style Sheet</div><div>setReportStyleSheetId(ReportStyleSheet_ID);</div><div><br/></div><div>// add a filter</div><div>addFilter("D_Week == [201401-201452]");</div><div><br/></div><div>bool before = Tabulation_getTotalColumnVisibility();</div><div>print(before);</div><div><br/></div><div>// set hidden</div><div>Tabulation_setTotalColumnVisibility(false);</div><div><br/></div><div>bool after = Tabulation_getTotalColumnVisibility();</div><div>print(after);</div><div>// create cross</div><div>createCrossDiagram({"Q9d"},{"D_Week"});</div><div><br/></div><div><br/></div><div>// result&nbsp;:</div><div>True</div><div>False</div><div>
'''Availability'''


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

Revision as of 07:39, 16 July 2015

Tabulation_getFilterDescriptionVisibility

get value of Show/hide of Filter

[edit]Syntax

Tabulation_getFilterDescriptionVisibility();

[edit]Arguments

none

[edit]Return value

Result is bool value.

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 </div>