Hitachi Vantara Pentaho Community Forums
Results 1 to 4 of 4

Thread: Hide Chart

  1. #1

    Default Hide Chart

    Hello,

    Is it possible to hide a component after an event (for exemple, if a chart have no value or if I push a button) ?

    Thank you for your response.

  2. #2
    Join Date
    Mar 2012
    Posts
    645

    Default

    You'd use jQuery or the DOM api directly to hide the component's HTML object, from that event.
    Using jQuery, if «comp» is a reference to the CDE component:
    Code:
    ...
    $("#" + comp.htmlObject).hide();
    ...
    Last edited by duarte.leao; 07-25-2013 at 02:39 PM. Reason: Fixed missing "#" in the jQuery id

  3. #3
    Join Date
    Jan 2013
    Posts
    135

  4. #4

    Default

    Great !

    Thank you very much !!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.