custom command item template to add a new row with the EditMode = InPlace

2 posts, 0 answers
  1. Shan
    Shan avatar
    1 posts
    Member since:
    Jan 2019

    Posted 15 Nov 2019 Link to this post

    How I can use the custom command item template button to add a new row with the EditMode = InPlace. I found the answer for EditMode = Batch. But for InPlace mode, what's the javascript function I can add a new row in place? 
  2. Eyup
    Admin
    Eyup avatar
    3962 posts

    Posted 20 Nov 2019 Link to this post

    Hi Shan,

     

    To achieve this requirement, you can set the EditMode property of the MasterTableView tag to be "InPlace" and all you need to do is to place a Button inside CommandItemTemplate and set its CommandName property to be "InitInsert":
    https://docs.telerik.com/devtools/aspnet-ajax/controls/grid/control-lifecycle/command-reference-

    I hope this will prove helpful. Let me know if I can assist with anything else.

     

    Regards,
    Eyup
    Progress Telerik

    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top