Search Results for

    Show / Hide Table of Contents

    Tab container

    A Tab Container widget organizes content into tabs, where each tab can contain one or more widgets.

    Below is how a Tab Container looks on the worker site and in Casewhere Admin.

    A tab container on the worker site: the tabs Books and Authors, and Summary in the menu of tabs

    Tab container configuration

    Configure tab container

    In the Tabs section of the widget editor, you can add, edit, or delete tabs (Add new tab, Edit tab, Delete) and change their order with the arrows. On the page layout, click + next to the tabs to add a tab, or click a tab to edit it.

    Add, edit, or delete tabs

    Tab content

    When adding or editing a tab, configure the following settings:

    The Layout section of a new tab

    • Title (General section): The display text shown on the worker site. Accepts a text resource key for multi-language support.

    • Layout: Configure the layout type for rendering the tab content. You can drag and drop widgets from the toolbox into the content area, arranged according to the selected layout.

    • Visibility: Write a rule to control tab visibility on both the client side and server side.

    Tab content - Visibility

    • General (how the tab shows in the menu): Tab content - General

      • Always in menu: Forces this tab into the overflow dropdown menu. When checked, Show in menu when is disabled.

      The tab Summary, with Always in menu checked, in the menu of tabs

      • Show in menu when: Moves the tab to the dropdown menu when the device matches the specified responsive modes.

      • Tab icon: A CSS class for the icon displayed before the tab Title.

      • Display Count For: When set, the tab header displays a count badge showing the number of records from the referenced widget. This is useful for showing item counts (e.g., "Tasks (5)") without the user having to click on the tab.

    Other settings

    General settings

    On the page layout, hover the tab container and click its settings button (the gear) to open General Settings or Custom View Settings in the widget editor.

    The settings menu of a tab container on the page layout

    The General section of the tab container's widget editor

    In the general settings, you can configure Title, Name, and other options:

    • Required Case Context: Enable if the widget should only be active when it receives a case from an external source.

    • Widget Can Be Reused: Enable to share this widget across multiple pages. The widget will appear in the Widget Gallery.

    • Show Panel: Enable to display the panel containing the widget.

    • Height:

      • Auto: Automatically scales the widget height by Container or Content.
      • Number: Specify a fixed height in pixels.

    Custom view settings

    The Display section of the tab container's widget editor

    The following settings are available for custom view use cases, in the Display, Security and Accessibility sections of the widget editor:

    • Responsive Modes: The screen sizes on which the widget will appear. None means all screen sizes.

    • Border: Renders the widget with a border.

    • Access: Only renders the widget when the user has access via an Access Rule (Security section, Access rule (C#), deprecated).

    • Accessibility:

      • Label: A short description to make the widget accessible to screen readers.
      • Landmark: A landmark role to make the widget detectable by screen readers.
    In This Article
    Back to top Generated by DocFX