New to Telerik UI for ASP.NET Core? Download free 30-day trial

Add Custom Column Popup Editor


Product Grid
Progress Telerik UI for ASP.NET Core version Created with the 2022.2.621 version


How to add a custom popup editor for a column in the Telerik UI for ASP.NET Core Grid?


  1. Create a Window and integrate an editor through the .Content() configuration method.
  2. Decorate the Editor with the data-bind attribute for the corresponding field that will be edited.
  3. Add a button to the cell by creating a column template through the .ClientTemplateId() configuration option.
  4. To open the window, handle the click event of the button. To bind the editor to the current data item, use the bind() method.
    // Window
              .HtmlAttributes(new {data_bind="value:ProductName"})
        .Actions(actions => actions

    // Grid
        .Columns(columns => {
            columns.Bound(p => p.ProductName).ClientTemplateId("productNameTemplate");
            columns.Bound(p => p.UnitPrice).Width(140);
            columns.Bound(p => p.UnitsInStock).Width(140);
            columns.Bound(p => p.Discontinued).Width(100);
            columns.Command(command => command.Destroy()).Width(150);
        .ToolBar(toolbar => {
        .Editable(editable => editable.Mode(GridEditMode.InCell))
        .DataSource(dataSource => dataSource
            .Model(model => {
                model.Id(p => p.ProductID);
            .Create("Editing_Create", "Grid")
            .Read("Editing_Read", "Grid")
            .Update("Editing_Update", "Grid")
            .Destroy("Editing_Destroy", "Grid")
    <script id="productNameTemplate" type="text/x-kendo-template">
        <div class='contentDivs'>
            #= ProductName #
        <button onClick='onClick(this)' class='editButtons class="k-button k-button-solid-base k-button-solid k-button-md   k-rounded-lg"' style='float:right'>

    <script type="text/javascript">
        function onClick(button){
              // Get the reference of the grid, editor, and window.
              var grid = $("#grid").data("kendoGrid");
              var editor = $("#editor").data("kendoEditor");
              var window = $("#window").data("kendoWindow");

              var row = $(button).closest("tr"); // Get the closest row element.
              var dataItem = grid.dataItem(row); // Get the current data item.

              kendo.bind(editor.element, dataItem); // Bind the editor to the corresponding data item.
    ; // Open the window.

For the complete implementation of the suggested approach, refer to the following Telerik REPL example.

In this article