![](/img/trans.png)
[英]In Rails using Wicegrid, how do I create link_to to destroy a record and return to the grid?
[英]WiceGrid: Missing block for the grid helper
我正在使用wice网格继续我的项目。 undefined method capable_of_hosting_filter_related_icons?
通过SO解决了错误。 我没有得到WiceGrid: Missing block for the grid helper..
我正在阅读api并添加了其他html,id和class属性。 没运气。 以下是我的看法:
-grid(@vendors_grid) do |g|
g.column name: 'ID', attribute: 'ID'do |vendor|
vendor
[...]
link_to('Edit', vendor_index_path(vendor))
尝试g.column(name: 'ID', attribute: 'ID') do |vendor|
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.