- Qt 5.3
- Qt Quick Controls
- QML Types
- TableViewStyle QML Type
- Qt 5.3.2 Reference Documentation

# TableViewStyle QML Type

Provides custom styling for TableView More...

Import Statement: | `import QtQuick.Controls.Styles 1.2`
Since: | Qt 5.1
Inherits: | ScrollViewStyle

- List of all members, including inherited members

## Properties

- activateItemOnSingleClick : bool
- alternateBackgroundColor : color
- backgroundColor : color
- control : TableView
- headerDelegate : Component
- highlightedTextColor : color
- itemDelegate : Component
- rowDelegate : Component
- textColor : color

## Detailed Description

Note: This class derives from ScrollViewStyle and supports all of the properties defined there.

## Property Documentation

activateItemOnSingleClick : bool

Activates items on single click.

alternateBackgroundColor : color

The alternate background color.

backgroundColor : color

The background color.

read-only control : TableView

The TableView attached to this style.

headerDelegate : Component

Delegate for header. This delegate is described in TableView::headerDelegate

highlightedTextColor : color

The text highlight color, used within selections.

itemDelegate : Component

Delegate for item. This delegate is described in TableView::itemDelegate

rowDelegate : Component

Delegate for row. This delegate is described in TableView::rowDelegate

textColor : color

The text color.