create grid with CRUD inside custom command

2 posts, 0 answers
  1. Harya
    Harya avatar
    5 posts
    Member since:
    Sep 2017

    Posted 01 Oct 2017 Link to this post


    it is possible to create grid with crud inside custom command ?, ( )

    if yes , can you show me example for the code ? ,

    if not , can you show me something similiar ?


    thanks :D 

  2. Alex Hajigeorgieva
    Alex Hajigeorgieva avatar
    1082 posts

    Posted 04 Oct 2017 Link to this post

    Hi, Harya,

    To add custom edit and delete buttons, you may follow the syntax in the referenced demo. It includes a click handler function name, for example, customEdit:

    columns.Command(command => command.Custom("CustomEdit").Click("customEdit")).Width(180);
      function cunstomEdit(){
        var row = $("tr");

    As long as the Kendo UI Grid data source is configured for CRUD operations, the API methods to use are:

    - editRow:
    - removeRow:
    - addRow:

    To get the grid instance, use the Name() of the grid in MVC. Kendo UI will create a div element with an id, equal to the name.

    Here is a runnable example I created for your convenience:

    Let me know if you need further help.

    Kind Regards,
    Alex Hajigeorgieva
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top