pfTableView-Basic
patternfly.table
Component for rendering a simple table view.
See pfTableView - with Toolbar for use with a Toolbar
See pfToolbar for use in Toolbar View Switcher
<ANY pf-table-view--basic
config="{object}"
dt-options="{object}"
items="{array}"
columns="{array}"
action-buttons="{array}"
menu-actions="{array}"
empty-state-config="{object}"
empty-state-action-buttons="{array}">
...
</ANY>
| Param | Type | Details |
|---|---|---|
| config | object | Optional configuration object
|
| dtOptions | object | Optional angular-datatables DTOptionsBuilder configuration object. See angular-datatables: DTOptionsBuilder |
| items | array | Array of items to display in the table view. |
| columns | array | Array of table column information to display in the table's header row and optionaly render the cells of a column.
Tip: For templating, use |
| actionButtons | array | List of action buttons in each row
|
| menuActions | array | List of actions for dropdown menu in each row
|
| emptyStateConfig | object | Optional configuration settings for the empty state component. See the Empty State component |
| emptyStateActionButtons | array | Optional buttons to display under the icon, title, and informational paragraph in the empty state component. See the Empty State component |