我有一个剑道网格,网格有一个编辑按钮可以打开引导程序模型对话框,但是当我单击网格编辑按钮时,它会在URL中添加#。
我如何删除它?
kendo Grid编辑按钮代码
{
title: "Action",
attributes: { "style": "text-align:center;" },
headerAttributes:
{
"style": "text-align:center;white-space: normal;background:rgba(0, 101, 179, 1) !important;color:white;font-weight:bold;border-right:1px solid white;text-align:center"
},
command:
[
{
name: "edit", iconClass: "k-icon k-i-pencil", text: "", click: openEditDialogBox
}
]
}
在单击编辑按钮时调用javascript函数。