如何在列属性中渲染多个按钮?
我有一个实体数据。
ColumnCollection = new List<ColumnProperty>
{
new ColumnProperty(nameof(ProductChapterMappingModel.Id))
{
Title = T("Admin.Common.Edit").Text,
Width = "200",
ClassName = NopColumnClassDefaults.Button,
Render = new RenderButtonsInlineEdit()
}
}
在Web视图中,它显示为
i1nhs.png“ rel =” nofollow noreferrer“>
我该怎么做?
I have a Entity DataTable.
ColumnCollection = new List<ColumnProperty>
{
new ColumnProperty(nameof(ProductChapterMappingModel.Id))
{
Title = T("Admin.Common.Edit").Text,
Width = "200",
ClassName = NopColumnClassDefaults.Button,
Render = new RenderButtonsInlineEdit()
}
}
In the web view it is displaying like
This looks good but my requirement is to add another button called Details under the same column like:
How can I do that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以使用
,然后
You can use
and then