Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

New Contributor II

Custome color property for dimention

Hello Sir,

  My name is Humesh . I am developing an extention for table.I want to add custome color property to every dimentions and measures.

I found your this code :


   type: "string",  

   label: "Enter color expression",           




I have written this code inside of dimention shown below:

definition : {

  type : "items",

  component : "accordion",

    items : {

         dimensions : {

                uses : "dimensions",

                min : 1,

                items: {


                                          type: "string",

                                          label: "Enter color expression",

                                          component : "expression"





now please tell me what should I need to write inside of function

to apply custome color reference to dimention

      paint: function ($element,layout) {

// what should I write here

          if ( !this.$scope.table ) {

         this.$scope.table = qlik.table( this );


         return qlik.Promise.resolve();       


please give me solution

Community Browser