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.

Objective

This article shows you how to set a font color for a list view column header.

Before You Begin

Custom styling configured for a list column header does not persist on runtime. This is a known issue which is set to be addressed on a future release of the product.

How-to Steps

To get the name of the Column Header to change:
Image 
  1. Go to the rules and under the event When the View executed Initialize, and add the following action:
    Image

  2. Select the column header control and configure the action as below:
    Image
  3. Save and run the view.
  4. The style is also applied when the view is hosted on a form.

    Image