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

Custom Menu In Grid Row

1 Answer 45 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 23 Jul 2014, 10:31 AM
Hi there,

I have a Kendo MVC Grid where I have added a per row dropdown menu (similar to that found in this thread). This is using a Kendo Menu which is created at runtime via some configuration options I have set up in the project.

This works fine when the menu contains custom actions which I wish to execute (i.e. redirecting to another screen or displaying custom modal screen).

However, I was looking to include an "Edit" option in this menu which would trigger the built in Kendo Grid editing function which I have set up - either inline, incell or popup depending on which I require.

I'm not sure I have ever seen an example of a custom button or menu action which triggers a built in Kendo Grid function - can you point me towards an example of this?

Thanks,

Paul

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 24 Jul 2014, 01:20 PM
Hi Paul,

The Grid's public API provides two methods that you can call when a Menu item is clicked - editCell or editRow.

http://docs.telerik.com/kendo-ui/api/web/grid

Regards,
Dimo
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
Paul
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or