Javascript 如何删除/覆盖剑道上的添加行弹出标题?

Javascript 如何删除/覆盖剑道上的添加行弹出标题?,javascript,jquery,kendo-ui,kendo-grid,Javascript,Jquery,Kendo Ui,Kendo Grid,我正在尝试从剑道的添加行弹出窗口中删除标题。我在其他一些不是新行弹出窗口的弹出窗口中管理它,似乎无法理解这一点。 这是我对弹出窗口的代码 <script type="text/x-kendo-template" id="popup-editor-servers"> <p style="padding-left:15px; font-weight:bold; font-size:medium">Add Server</p> <div class="k-e

我正在尝试从剑道的添加行弹出窗口中删除标题。我在其他一些不是新行弹出窗口的弹出窗口中管理它,似乎无法理解这一点。

这是我对弹出窗口的代码

<script type="text/x-kendo-template" id="popup-editor-servers">
<p style="padding-left:15px; font-weight:bold; font-size:medium">Add Server</p>
<div class="k-edit-label">
    <label for="txt-host">Name:</label>
</div>

<!-- textbox editor for field: "LastName" -->
<!-- field: "LastName" is not included as a grid column -->
<input type="text" id="txt-host" class="k-input k-textbox" data-bind="value:Host">

添加服务器

姓名:

我不介意完全删除它,但我想只要我有权访问该标题,我可以做任何事情


有什么想法吗?

想出来了。下面的代码完成了这项工作。网格是

<div id="grid-acl"
         data-role="grid"
         data-auto-bind="true"
         data-sortable="{allowUnsort: false}"
         data-filterable="false"
         data-editable='{mode: "popup", template: kendo.template($("#popup-editor").html())}' ,
         data-groupable="false"
         data-columns='[
        { field: "Name", title: "AD User", width: "400px" },
         @*{ field: "Sid", title: "SID" }, *@
        ]'
         data-bind="source: dataSource, events: { change: onChange, dataBound: onDataBound }">
    </div>
<script type="text/x-kendo-template" id="popup-editor-servers">
<p style="padding-left:15px; font-weight:bold; font-size:medium">Add Server</p>
<div class="k-edit-label">
<label for="txt-host">Name:</label>
</div>

<input type="text" id="txt-host" class="k-input k-textbox" data-bind="value:Host">
create: function (event) {
            var grid = $("#grid-servers").data("kendoGrid");
            grid.options.editable = {
                mode: "popup", window: { title: "Add Server" }, template: kendo.template($("#popup-editor-servers").html())
            };

            grid.addRow();
        },