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:

  1. Open your user profile folder (usually C:\Users\your.username) and browse down to AppData\Local\QlikTech\QlikView\Extensions\Objects ...

Get QlikView for Developers Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.