Datagrid 导航 link 在新标签页中打开
Datagrid navigate link open in new tab
是否可以配置数据网格导航 link 以在新的浏览器选项卡中打开?
actions:
view:
type: navigate
label: oro.grid.action.view
link: view_link
icon: eye
acl_resource: oro_user_user_view
rowAction: true
NavigationAction
仅支持内部导航。
https://github.com/oroinc/platform/blob/master/src/Oro/Bundle/DataGridBundle/Resources/public/js/datagrid/action/navigate-action.js#L60-L91
但您可以创建自己的 CustomNavigationAction
并实现您需要的功能。请记住,要从类型 type: custom-navigation
正确映射,模块需要具有以下结构的别名 'oro/datagrid/action/{{type}}-action'
:
aliases:
oro/datagrid/action/custom-navigation$: acme/js/datagrid/action/custom-navigation-action
dynamic-imports:
orodatagrid:
- oro/datagrid/action/custom-navigation
是否可以配置数据网格导航 link 以在新的浏览器选项卡中打开?
actions:
view:
type: navigate
label: oro.grid.action.view
link: view_link
icon: eye
acl_resource: oro_user_user_view
rowAction: true
NavigationAction
仅支持内部导航。
https://github.com/oroinc/platform/blob/master/src/Oro/Bundle/DataGridBundle/Resources/public/js/datagrid/action/navigate-action.js#L60-L91
但您可以创建自己的 CustomNavigationAction
并实现您需要的功能。请记住,要从类型 type: custom-navigation
正确映射,模块需要具有以下结构的别名 'oro/datagrid/action/{{type}}-action'
:
aliases:
oro/datagrid/action/custom-navigation$: acme/js/datagrid/action/custom-navigation-action
dynamic-imports:
orodatagrid:
- oro/datagrid/action/custom-navigation