This is a migrated thread and some comments may be shown as answers.

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

1 Answer 87 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Shan
Top achievements
Rank 1
Shan asked on 15 Nov 2019, 05:46 PM
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? 

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 20 Nov 2019, 08:13 AM

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.
Tags
Grid
Asked by
Shan
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or