1 Reply Latest reply: Nov 4, 2013 9:36 AM by Gonzalo Ruiz RSS

    Impossible thing

      Hey, i don't belive that's sombebody can help me, but i'll try again.

       

      I create one Project using MVC4 Razor, and import the qlikview workbench reference, after this a import one object using a design mode (ASPX).

      I just need get all values of one ListBox, thats haves 350.000 items, but i need get 4000 selections (max), but its impossible, just returns 40.

      What i have this:

       

      <%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

      <%@ Register Assembly="QlikViewWorkBench" Namespace="QT.QWW.WebControls" TagPrefix="qww" %>

       

      <!DOCTYPE html>

       

      <html>

      <head runat="server">

       

      <form id="form1" runat="server">

      <div class="qlikObjMain">               

                      <qww:QvObject ID="QvObject58" runat="server" Height="250px" ObjectID="LB120" ObjectType="List Box" QlikViewDocument="Producao/Visão Central 156 (QVS@srvbi)" />               

                  </div>

      </form>

       

      <script>

              function init() {

                  var doc = Qv.GetCurrentDocument();

                  var listbox = doc.GetObject('LB120', function () {

                      listbox.Data.SetPagesize({ x: 200, y: 200 });

                      $('#carregar').click(function () {

                          values = [];                   

                          listbox.QvaPublic.Data.SelectTexts(values);

                          var teste = listbox.QvaPublic.Data.GetSelected();

                              alert(teste.length);

                          size = listbox.Data.TotalSize.y;

                      });

                  });

              }

              Qva.BodyOnLoadFunctionNames.push('init');

          </script>

          <button id="carregar">Gerar dados GIS</button>

      </head>

      </html>

       

      Please, help me, please!!!! OMG!!!