Layout

This section describes the possible options to change the layout of Komment

Custom Header

It is possible to define custom header colors for each widget.

Custom header color

The settings for the custom color are found under each Widget => Custom Header

Custom Cell

It is possible to have the cell colors for each widget show specific colors based on their value.

Custom cell color

The settings for the custom color are found under each Widget => Custom Cell

Custom cell color settings

It is possible to use normal Qlik functions to define the colors dynamically. You can even use variables. An example could be like this:

pick(match([Action],'Follow-up','Pending','No Action'),vColor_Bad,vColor_Neutral,vColor_Good)

Wrap Line

In Readonly and Text widgets it is possible to toggle wrap line option to make sure that all text is visible in the table cell.

The setting for the Wrap Line option is found under each Widget => Wrap Line

Wrap Line option

As can be seen from the image below the full text will now be visible in the cells where a long text string is present:

Wrap Line display

Width

Column width

When using Komment in Table mode it is possible to change the column width either using the mouse directly on the columns in the table or by defining it in the Advanced Settings under each widget:

Column width

Widget width

When using Komment in Form or Popup mode it is possible to change the widget width by defining how many columns it should occupy in a 12-grid system. This can be done in the Advanced Settings under each widget:

The default widget width is 12 - i.e. occupying the full width in the Komment object. In the below example the following widget widths have been applied

  • Status: 4

  • Action: 8

  • Date: 6

  • Cost: 6

  • Comment: 12

Widget width example

Page Size

When using Komment in Table mode it is possible to change how many records that are displayed in the table at a time. This is defined in the Layout settings in the Appearance section:

Change Page Size

The user will then only see the defined number of records in the table but it will be visible how many records are shown out of the total records available:

Page Size display

Dialogue size

As a developer you can decide the exact size of the dialogue windows that appear e.g. when you want to perform a Batch Edit or Add new records.

This is defined in the Layout settings in the Appearance section:

Dialogue size