当我单击kendo Gird编辑按钮时,#自动添加到URL中吗?

时间:2019-03-07 12:24:21

标签: kendo-ui kendo-grid

我有一个剑道网格,网格有一个编辑按钮可以打开引导程序模型对话框,但是当我单击网格编辑按钮时,它会在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函数。

0 个答案:

没有答案
相关问题