Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hi I am new to qlik extensions java scripting too . I am trying to create and table extension object . tried google and found this code can somebody help me understand this piece of code
Qva.AddExtension('Table', function() { this.Element.innerHtml = "
"; // Create variable to hold generated html var html = "
" // Cycle through the data for ( var i=0; i < 10; i++) { // get the row var row = i; // Generate html html += ""; } // Finmalize the html html += "
| " + row[0].text + " | " + row[1].text + " |
"; // Set the HTML this.Element.innerHTML = html; }, true);