Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Not applicable

How to interact with qlikview object with .qar file?

I am developing dashboard with qlikview, in which I want to provide custom pagination in qlikview tablebox. I have developed .qar file to perform pagination. I am using following code to get totalsize of rows and data of particular row.

var vDoc = Qv.GetCurrentDocument();

vDoc.GetAllObjects(function(objects) {

     for(var i=0; i<objects.length; i++)

     {

          var obj = objects;

          if(obj.type == 'Table Box'){

               vObj = vDoc.GetObject(obj.id, function() {

               for(var i=0; i<(this.Data.TotalSize.y); i++)

               {

                    ......

               }

          }

     }

Now according to algo and logic of pagination, I have to show and hide rows of TableBox. So which method should I use for that? How to give command to TableBox from .qar script to show or hide something?

Community Browser