Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
dionverbeke
Partner - Creator III
Partner - Creator III

Example Qlikview extension Paging, without repainting.

Hi, Does anyone have an example extension which demonstrates paging through a large data table? I have an example where I have to click on a button, but I want to do it without clicking on a button. Issue is that everytime I click on the buttons it triggers a repaint and somehow it goes wrong after that... console.log('init'); this.Element.innerHTML = ""; if(!this.Data.Page){ console.log('newpage'); this.Data.Page = new this.Data.PageObject(this.Data, this.Data.PageSize.y); //this.Data.PageSize.y uses the PageHeight set in the Definition or the default which is 40 } var html = ''; html += "

"; html += "Prev" html += "Next" html += "

"; html += "

"; var pageStart = this.Data.Page.StartItem(); //Index of the first item on the current page var pageEnd = pageStart + this.Data.Page._size; var TotalSize = this.Data.TotalSize.y; console.log('SIZE=' + pageStart + '*' + pageEnd + '*' + TotalSize); for (var row=pageStart; row"; html += this.Data.Rows[row][0].text; html += ": "; html += this.Data.Rows[row][2].text; html += "
"; } html += "

"; this.Element.innerHTML = html; this.Element.onclick = page.bind(this);

Labels (1)
0 Replies