I am using mvc4 application .On one of my page i am using kendo grid.I want to add two buttons for editing, one is used for editing in pop-up and other for inline editing.
I want to change the grid edit mode dynamically on click of button.
Can any one help me out ?
If you want to change dynamically the edit mode for all rows in a
Grid
you can do:Button
andGrid
definition:Grid
initialization:Buttons
initialization:When you click on either of these buttons, you select the edit mode as
inline
orpopup
.You cannot have two editing modes at a time.
As a work-around you can use the InLine editing + template column with a button inside which on click opens a window.
You can set the content of the window to be a template and bind it with the dataItem for that row when the buttons is clicked.