Creating a simple HTML table
We can, of course, use extension objects to pass data through to third-party controls, for example, Flash or Silverlight. But we can also fully control the way we display the data using HTML and JavaScript, especially if we employ one of the many visualization libraries available, such as D3.js.
In this example, we are going to create a simple HTML table based on the data in QlikView.
Getting ready
Load the following script:
Sales: LOAD * INLINE [ Country, Sales USA, 1000 Mexico, 600 Canada, 700 UK, 900 Germany, 800 ];
How to do it…
These steps show you how to create a simple HTML table extension:
Open your user profile folder (usually
C:\Users\your.username
) and browse down toAppData\Local\QlikTech\QlikView\Extensions\Objects
You may need to create the
Extensions\Objects
folder if no extensions have previously been installed.Create a new subfolder in the
Objects
folder and call itQlikViewCookbook
. Create a subfolder in here and call itHTMLTable...