Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Qlikview 11 Extension and this.data.rows.length

Hello,

I have a question regarding the this.data.rows.length function in the Qv extensions.

I have made an extension that tries to cycle through the possible values loaded in qlikview to compare to something loaded by the extension but when I do:

[blah blah]

var _this = this;

if ($.isEmptyObject(file)) {

                $.ajax({

                    url: file_path,

                    type: "GET",

                    success: function(data){

                         alert(" _this Data Rows Length " + _this.Data.Rows.length);

                         var info = $(data).find("info");

                         $.each(info,function(){ alert("OK"); [BLAH BLAH BLAH] } );

                    }

               });

     }

[blah blah]

The alert result is always " _this Data Rows Length 0 "

Yet the other function works perfectly fine, so the external data loaded by the function is actually there.

Did I forget anything obvious?

Thanks

10 Replies
Not applicable
Author

Hello,

I'm dealing with the same problem - this.Data.Rows is undefined.

I've set Dimensions, but still no luck.

I can see the data on table box.

(By the way, I'm on intranet without internet access. Does it matter?)

My server version is 11SR2.

Can you help me?

Thanks.