This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice This article is not considered official documentation for K2 software and is provided “as is” with no warranties.

Issue

On K2 Forms Designer - when changing the Style of the list view "header" it is not replicating changes in K2 Runtime.

Image

Symptoms

The Header is not reflecting the needed changes.

In K2 Forms Designer the changes are reflected:

Image

But in K2 Runtime URL they don't appear:

Image

Resolution

As a workaround please do the following:

1. Set the header' text on the View Initialize event, using the "Set a control's properties" action with the below CSS HTML injection:

<div style="color:red;font-size:20px"></div>

For this example, we will be editing the font color of the Col1 header to red.

Image

2. Identify the control name assigned to the header:

Image

3. Under “When the View executed Initialize” rule, add the following action:

Image

4. Select the ‘Col1 Label’ control and configure the action as below:

Image