A widget that is similar to a traditional tab control, but optimized for the phone with simplified end-user interaction.

Included in: dx.phonejs.js, dx.all.js

The dxPivot widget includes items (tabs). These items are placed horizontally next to one another and navigated by flicking or panning to the left or right, or by choosing the desired pivot header. While you always see the content of one item (tab), the pivot header of the next item is visible so users can clearly see that more items are available. This widget is often used to present lists of data filtered by different criteria. Although dxPivot was created based on the native WindowsPhone8 Pivot widget, it can be used on any platform.

This widget, like any other DevExtreme UI widget, can be created using one of three possible approaches: jQuery, Knockout or AngularJS. The following code demonstrates how to create the dxPivot widget using the Knockout approach.

<div data-bind="dxPivot: { dataSource: items }">  </div>

The pivot items are loaded from an array specified using the dataSource configuration option.

items = [
        title: "All",
        text: "All - description"
        title: "Family",
        text: "Family - description"
        title: "Friends",
        text: "Friends - description"
        title: "Work",
        text: "Work - description"

To display pivot items, a default template is applied based on the following fields of the data source item objects.

  • disabled
    Specifies whether or not the pivot item is disabled.
  • visible
    Specifies whether or not the pivot item is visible
  • html
    Specifies the html code inserted into the item element
  • text
    Specifies the text inserted into the item element
  • title
    Specifies a name for a pivot item

To learn more about the fields used in the default item template, refer to the Default Item Template reference section of the widget.

You can introduce a custom template for pivot items. For this purpose, add a div element with the data-options attribute set to dxTemplate. Assign item to the template name. In this instance, the template will be applied automatically. See the Customize Widget Item Appearance topic to learn more about templates.

<div data-bind="dxPivot: { dataSource: items }">
    <div data-options="dxTemplate : { name: 'item' } ">
        <div data-bind="dxList: { dataSource: listItems }">
            <div data-options="dxTemplate : { name: 'item' } ">
                <div data-bind="text: name"></div>
                <div data-bind="text: phone"></div>
                <div data-bind="text: email"></div>
See Also
  • To learn how to create widgets in detail, refer to the Create a Widget article.
  • The dxPivot widget is related to the Collection Containers category. So read an overview of the features that are common for collection container widgets in the Common Tasks topic of the Collection Containers article.

Watch Video

Show Example:


An object defining configuration options for the dxPivot widget.


This section describes members used to manipulate the widget.


This section describes events fired by this component.

Default Item Template

This section lists the data source fields that are used in a default template for pivot items.

By default, a predefined item template is applied to display items of DevExtreme collection widgets. This template is based on certain fields of the data source provided for a widget. Below is the list of the fields that take part in a default item template for the dxPivot widget. If the default item template is not appropriate for your task, implement a custom item template based on these or other fields of your data source. For details refer to the Customize Widget Item Appearance topic.