Entity Listing

<sw-entity-listing> extends <sw-data-grid>

n/a

Component properties

Property name Type Default
detailRoute String
repository Object
items Array
dataSource [ {}, {} ]
showSettings Boolean true
fullPage Boolean true
allowInlineEdit Boolean true
allowColumnEdit Boolean true
criteriaLimit Number 25

Methods

Method name Parameters
createdComponent No parameters
applyResult result
deleteItem id
deleteItems No parameters
deleteItemsFinish No parameters
doSearch No parameters
save record
revert No parameters
sort column
paginate
showDelete id
closeModal No parameters

Imports

  • ./sw-entity-listing.html.twig

Watcher

  • items

Twig blocks

  • sw_data_grid_slot_pagination
  • sw_data_grid_bulk_selected_actions_content
  • sw_data_grid_slot_bulk_modals
  • sw_data_grid_slot_actions
  • sw_data_grid_slot_action_modals

Slots

  • detail-action
  • more-actions
  • delete-action
  • delete-confirm-text
  • delete-modal-footer