我创建了一个数据网格并使用 oro/data_grids.yml
配置显示数据
datagrids:
app-demo-grid:
source:
type: orm
query:
select:
- po.itemId
- po.itemName
- po.itemDescription
from:
- { table: DemoBundle:PurchaseOrder, alias: po }
columns:
itemId:
label: Item ID
frontend_type: integer
itemName:
label: Item Name
frontend_type: string
actions:
send:
type: navigate
label: Send to Url
link: send_link
icon: send
rowAction: true
问题:从网格操作将参数传递给控制器 - 发送不起作用 . 我的请求中没有更多参数 .
1 回答
您应该配置属性“send_link” .
有关属性配置的更多信息,请查看documentation .