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

Dropdown in In-cell batch Editing Grid

3 Answers 709 Views
Grid
This is a migrated thread and some comments may be shown as answers.
J
Top achievements
Rank 1
J asked on 06 Oct 2017, 12:35 PM

Hello, 

I'm using Grid Batch Editing (http://demos.telerik.com/aspnet-core/grid/editing) and I have 2 questions actually: 

1) Is it somehow possible to allow dropdown buttons when editing records?

2) I have a nullable bool field and when I set it to "Not Set" (null), it will store the value as "false". Is this normal behaviour?

 

Thanks!

 

 

3 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 11 Oct 2017, 08:04 AM
Hello,

Regarding the questions:

1) The DropDown edit can be used in the Grid. We have a demo which is demonstrating this:

http://demos.telerik.com/aspnet-mvc/grid/editing-custom

More details can be found here:

https://docs.telerik.com/aspnet-mvc/helpers/grid/templating/editor-templates

The examples are for MVC 5, but the same approach can be achieved in MVC.Core.

2) I can suggest checking our example on a similar subject:

https://docs.telerik.com/aspnet-mvc/helpers/grid/how-to/editing/grid-inline-editing-of-nullable-boolean

I hope this is helpful.

Regards,
Stefan
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
J
Top achievements
Rank 1
answered on 11 Oct 2017, 11:57 AM
Stefan, thanks for your reply, but are you sure this works for ASP.NET Core as well? 
0
Stefan
Telerik team
answered on 16 Oct 2017, 05:53 AM
Hello,

It is working on our end.

If the suggested approach is throwing an error on your side, please provide more details or a fully runnable example and I will gladly assist.

Regards,
Stefan
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
J
Top achievements
Rank 1
Answers by
Stefan
Telerik team
J
Top achievements
Rank 1
Share this question
or