2 Replies Latest reply: Aug 31, 2017 7:28 AM by Claudia Drey RSS

    Tabs in MashUP

    Claudia Drey

      Hi all

       

      I'm working on a Qlik Sense mashup. In the mashup I'm using tabs. When the first tab is selected my qlik sense object is visible. When I select another tab only the title from the object is visible.

       

       

       

       

       

      I have tried to use the qlik.resize function. But It doesn't work.

       

       

      html:

       

      <!--.content-section-c-->

      <section class="content-section-c">

        <div class="container">

         <div class="row">

          <div class="col-lg-12 col-md-12 col-sm-12 borderShadow">

           <div class="tab" role="tabpanel">

            <ul class="nav nav-tabs">

                 <li class="active"><a href="#Tab1_big" data-toggle="tab">Tab1</a></li>

                   <li><a href="#Tab2_big" data-toggle="tab">Tab2</a></li>

                   <li><a href="#Tab3_big" data-toggle="tab">Tab3</a></li>

            </ul>

             <div class="tab-content">

                <div class="tab-pane fade in active" id="Tab1_big">

              <div class="chart qvobject" id="Toggle1_big"></div>

               </div>

                <div class="tab-pane fade" id="Tab2_big">

              <div class="chart qvobject" id="Toggle2_big"></div>

               </div>

                <div class="tab-pane fade" id="Tab3_big">

                <div class="chart qvplaceholder" id="Toggle3_big"></div>

               </div>

             </div>

             </div>

         </div>

         </div>

        </div>

      </section>

      <!--/.content-section-c-->

       

       

      js.:

       

      $('#Toogle1_big').on('click', function(){

        qlik.resize();

      });

       

      $('#Toogle2_big').on('click', function(){

        qlik.resize();

      });

       

      $('#Toogle3_big').on('click', function(){

        qlik.resize();

      });

       

       

      Can somenone please help me?

       

      Thank You

       

      Claudia