60 return static::NAME .
'.' . $this->
getData(
'config/dataType');
72 $dataType = $this->
getData(
'config/dataType');
74 $this->wrappedComponent = $this->uiComponentFactory->create(
79 $this->wrappedComponent->prepare();
80 $wrappedComponentConfig = $this->
getJsConfig($this->wrappedComponent);
82 $jsConfig = array_replace_recursive($wrappedComponentConfig, $this->
getJsConfig($this));
83 $this->
setData(
'js_config', $jsConfig);
87 array_replace_recursive(
88 (array)$this->wrappedComponent->getData(
'config'),
116 if ($this->
getData(
'config/add_field')) {
128 $sorting = $this->
getContext()->getRequestParam(
'sorting');
129 $isSortable = $this->
getData(
'config/sortable');
130 if ($isSortable !==
false 131 && !empty($sorting[
'field'])
132 && !empty($sorting[
'direction'])
133 && $sorting[
'field'] === $this->
getName()
135 $this->
getContext()->getDataProvider()->addOrder(
137 strtoupper($sorting[
'direction'])
getJsConfig(UiComponentInterface $component)
getData($key='', $index=null)
__construct(ContextInterface $context, UiComponentFactory $uiComponentFactory, array $components=[], array $data=[])
setData($key, $value=null)
prepareItems(array & $items)