Skip to main content Skip to complementary content

Simple table

The Simple table example demonstrates a basic table.

Finding the examples

  • Qlik Sense Desktop: ...\Users\<UserName>\Documents\Qlik\Examples\Extensions.

  • Qlik Sense: ...\ProgramData\Qlik\Examples\Extensions.

Full code example

Code example breakdown

  1. Edit the applicable fields of the QEXT file to set a default title, description, icon and type.

  2. Implement paint method.

  3. Define properties. In this code example, properties are defined inside the main JavaScript file.

  4. Add styling to separate CSS file:

    It is good programming practice to keep your styling in a separate CSS file. Qlik Sense set the CSS class qv-object-[extension name] on your extensions. You should prefix your CSS rules with that. You then load your CSS file with RequireJS and add its content to the HTML page:

    define(["jquery", "text!./simpletable.css"], function($, cssContent) {'use strict';
    	$("<style>").html(cssContent).appendTo("head");

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!