--- title: "Create and Manage View Templates in Pigment" slug: "create-and-manage-view-templates" description: "Streamline your grid formatting with View Templates in Pigment. Apply consistent styles quickly and adapt as your data evolves for polished results." tags: ["formatting", "view template", "Reporting Data Visualization "] updated: 2026-10-28T14:10:24Z published: 2026-10-28T14:10:24Z canonical: "kb.pigment.com/create-and-manage-view-templates" --- > ## Documentation Index > Fetch the complete documentation index at: https://kb.pigment.com/llms.txt > Use this file to discover all available pages before exploring further. # Create and Manage View Templates View Templates help you format grids in Pigment faster and more consistently. Instead of setting up formatting manually each time, you can apply predefined styles that adapt to your View’s layout. This article explains how View Templates work, the different types available, and how they interact with existing formatting. ## What are View Templates? Use View Templates to apply predefined formatting to a View, so you can quickly create consistent, well-structured grids without rebuilding styles each time. - **Set up faster**. Create a polished grid in seconds without having to format each View from scratch. - **Keep things consistent**. Apply the same View Template across multiple Views to maintain a consistent look and feel across your Board. - **Adapt as your data changes**. Let View Templates adjust automatically when your View is restructured, so your formatting stays intact as your data evolves. > [!NOTE] > **ℹ️ Note** > > View Templates are only available within the Application where they were created. If a Block or View from that Application is shared with another Application, the templates on that shared Block can still be used there. ### Types of View Templates View Templates are available in **Application Settings**. Choose a template based on how your View is structured: - **Simple**. Configure header and cell styles for flat Views. - **Hierarchy.** Apply distinct styles to each level in a multi-level View, up to five levels, with an optional separate style for the lowest level. Choose whether to apply styling to rows or columns. - **Alternate rows**. Add alternating row colors to improve readability in larger Views such as Transaction Lists or long Tables. - **Alternate columns**. Add alternating column colors to improve readability in larger Views such as Metrics or time-based Tables with many months. All View Template types support grand total formatting in both Tabular and Tree modes. New Applications include a simple View Template by default**.** This template provides basic formatting for row headers, column headers and cells. You can edit, rename, duplicate or apply this template like any other View Template. ### View Templates and existing formatting > [!WARNING] > **⚠️ Important** > > Conditional, static and default formatting rules override any formatting applied by a View Template. View Templates act as a predefined base formatting layer and work alongside existing formatting. Formatting is applied in the following order, from **highest** to **lowest** priority: - [Conditional formatting](/v1/docs/conditional-formatting-highlight-data) to highlight data changes or [based on another Metric](/v1/docs/apply-conditional-formatting-metric) - [Static formatting](/v1/docs/apply-static-formatting-different-views) - [Default Formatting](/v1/docs/apply-default-formatting-all-instances-metric) - View Template formatting (Simple, Hierarchy, Alternate rows and Alternate columns) Higher-priority formatting overrides lower-priority formatting. If conditional, static, or default formatting is removed, the View Template formatting automatically reapplies, provided no other formatting rule overrides it. ## Configure a View Template > [!WARNING] > **⚠️ Important** > > You must have the **Configure Application** permission to create, delete or modify a View Template. View Templates can be created and modified in the Dev Environment in Test & Deploy. To configure a View Template for Members: 1. Go to **Settings** in your Application. 2. Select **View Templates**, then choose **Create a new View Template**. If templates already exist in your Application, select **+ New template** in the top-right corner. 3. Choose a template type, then select **Next: Configure template.** 4. Choose **Select a View**, then **select a Block** **and a View** from the drop-down menus. 5. Select **Start a preview.** 6. In the **Details** section, add a name and a description (optional) to indicate when the template should be used. 7. In the **Style section**, use the **Type of grid** dropdown to change the template type, then configure the formatting options. Select **Reset** to revert changes. Style options vary depending on the template type: 1. **Simple**. Configure cell color, text color, and formatting for cells, row headers, and column headers. 2. **Hierarchy**. Choose to style multi-level rows or columns, then configure styles for each level, with optional custom formatting for the lowest level and separate styling for headers on the other axis, for example column headers when styling rows. > [!NOTE] > **ℹ️** **Note** > > If no cell style is defined, the lowest level style is applied to cells. 3. **Alternate rows**. Configure alternating row styles and formatting for row headers and column headers. Use **Apply color to** to choose whether alternating colors apply to **Cells only** or **Whole row**. Header text formatting remains independent. 4. **Alternate columns**. Configure alternating column styles and formatting for row headers and column headers. Use **Apply color to** to choose whether alternating colors apply to **Cells only** or **Whole column**. Header text formatting remains independent. > [!NOTE] > **ℹ️ Note** > > Text color in all rows and headers updates automatically based on the fill color, unless fill and text color are unlinked. Use the lock symbol between the fill and text color options to link or unlink them. You can also configure the following style options for all View Templates: - **Cell status indicator**. Select **+ Add** then toggle on **Highlight input cells** on or off to highlight input cells. Turn **Show overrides** on or off to highlight overridden cells. Configure the indicator style for each status independently. Select **Remove** to remove the cell status indicator from the template. - **Grand total style**. Configure background color, text color and bold or italic text independently for **Row total**, **Column total** and **Intersection total**. Use **Apply style to** to style cells only or the whole row or column, including total headers. Formatting applies only to existing grand totals. 1. *(Optional)* In the **Number display** section, customize how numbers are displayed. Add or remove individual number display settings, then configure the available options for each setting. Select **Reset** to restore the default settings. 1. **Decimals number**. Set how many decimal places are displayed. 2. **Zero display**. Choose how zero values are displayed. 3. **Positive values**. Display positive numbers with or without a plus sign. 4. **Negative values**. Display negative numbers with a minus sign or in parentheses. 5. **Thousands separator**. Turn the thousands separator on or off. 2. *(Optional)* In the **Layout options** section, customize your template layout using the following options. Add or remove individual layout settings, adjust their values, and turn available settings on or off. Select **Reset** to revert changes. 1. **Display**. Choose the grid mode (Tabular or Tree) and adjust the row height. 1. 1. In **Tabular** mode, you can also show or hide row headers. 2. In **Tree** mode, you can add or remove hierarchy indentation. 2. **Gridlines**. Show or hide vertical and horizontal gridlines. 3. **Totals**. Display totals on the first row or first column. To format grand totals, use **Grand total style** in the Style section. 3. Select **Save View Template** to save your template. You can also configure a View Template directly in the View by selecting **View Templates** then **+ New template** from the bottom of the **View Templates** panel. Use steps 2-9 above to configure and save the View Template. ## Manage View Templates You can manage and edit your View Templates from your Application Settings or directly within a View. To edit the template from the View, select **View templates** then hover over the template and select **Edit**. From the **View Templates** section, select the three-dot menu to the right of the template name to edit, rename, duplicate, or delete it. ### Set a default View Template > [!WARNING] > **⚠️ Important** > > Only Modelers can set a View Template as the default template for an Application. Only Simple View Templates can be set as the default. Open the three-dot menu next to the template, select **Set as default**, then confirm your selection. The default template is automatically applied to all new Views created in the Application. Members can choose a different View Template when creating or editing a View if they do not want to use the default template. To remove the default, open the three-dot menu and select **Remove as default**. You can have only one default View Template at a time. To change the default template, open the three-dot menu next to the desired template, select **Set as default**, then confirm your selection. You can edit, rename, duplicate, or delete a default View Template in the same way as any other View Template. ### Edit View Template Select **Edit** to open the **Edit View template** panel. Adjust the name, description, style or layout of your View Template. Select **Save View Template**, then **Save and apply to all Views**. ### Rename View Template Select **Rename** to open the **Edit View template** panel and rename your View Template. ### Duplicate View Template Select **Duplicate** to add a name and description for the duplicate View Template, then select **Duplicate** to create a copy. ### Duplicate a View Template to another Application > [!WARNING] > **⚠️ Important** > > Only Modelers can duplicate a View Template to another Application. From the **View templates** section, select **Duplicate to**, choose the Applications you want to duplicate the template to, then confirm by selecting **Duplicate**. You can duplicate View Templates across multiple Applications. ### Delete Template Select **Delete**, then **Delete View template,** to delete your View Template. ## Apply View Templates > [!WARNING] > **⚠️ Important** > > No permission is required to apply a template. The **Configure Public Views** permission is only required to save a View with a template as a public View. Templates can always be applied and saved in private Views without this permission. Members can apply and update a View Template directly from a View: 1. Open the View and select **View templates.** 2. From the **View templates** panel, hover over a template and select **Use** **template** to apply it to your View or select the **Edit** symbol to open the **Edit View template** panel and adjust the formatting. You can select **Remove template** to remove it from your View. To quickly apply a View Template, select a template to apply it, or select it again to remove it. 3. Select **Save View template** then **Save and apply to all Views** to update the View Template and apply it to your View.