One To Many Grid

<sw-one-to-many-grid> extends <sw-data-grid>

n/a

Component properties

Property name Type Default
collection Array
localMode Boolean true
dataSource [ {}, {} ]

Methods

Method name Parameters
createdComponent No parameters
applyResult result
save record
revert No parameters
load No parameters
deleteItem id
sort column
paginate params

Imports

  • ./sw-one-to-many-grid.html.twig

Inject

  • repositoryFactory

Twig blocks

  • sw_data_grid_slot_pagination
  • sw_data_grid_slot_actions

Slots

  • more-actions
  • delete-action