pfListView
patternfly.views
Directive for rendering a list view.
<ANY pf-list-view
items="{array}"
config="{object}"
action-buttons="{array}"
enable-button-for-item-fn="{function (action, item))}"
menu-actions="{array}"
update-menu-action-for-item-fn="{function (action, item))}">
...
</ANY>
| Param | Type | Details |
|---|---|---|
| items | array | Array of items to display in the list view |
| config | object | Configuration settings for the list view:
|
| actionButtons | array | List of action buttons in each row
|
| enableButtonForItemFn | function (action, item) | function(action, item) Used to enabled/disable an action button based on the current item |
| menuActions | array | List of actions for dropdown menu in each row
|
| updateMenuActionForItemFn | function (action, item) | function(action, item) Used to update a menu action based on the current item |