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

DropDownList in InCell-editing Grid

1 Answer 154 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mathias
Top achievements
Rank 1
Mathias asked on 01 Aug 2012, 04:06 PM
Hello,

There is a really nice example of DropDownLists in InCell-Grids in the MVC-examples which come with KendoUI ("Editing Custom Editor"). It works really nice and I need exactly the same thing, with one exception: I need to be able to add new rows to a grid. This is where the example totally fails.

If I add the toolbar.Create() functionality and try to add a new line it always says "Microsoft JScript runtime error: 'Employee' is undefined"

Here is how I changed the toolbar:
.ToolBar(toolBar => { toolBar.Save(); toolBar.Create().Text("Add row!"); })

Is there any solution how this example works using a Create()-Button?

Thanks,
Mathias

1 Answer, 1 is accepted

Sort by
0
Jason
Top achievements
Rank 1
answered on 01 Aug 2012, 04:11 PM
I am having the same issue.  With that example, you can't add new rows, and you can't sort by the custom editable column either.  Would love to see a full blown solution with adding new rows and sorting by the dropdownlist field.
Tags
Grid
Asked by
Mathias
Top achievements
Rank 1
Answers by
Jason
Top achievements
Rank 1
Share this question
or