O'Reilly logo

QlikView for Developers Cookbook by Stephen Redmond

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required