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

Adding Datapicker, Dropdown and other controls to Kendo Grid

2 Answers 80 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Venkat
Top achievements
Rank 1
Venkat asked on 19 Oct 2014, 08:34 AM
Hi,

We have an requirement that allow a user to enter multiple records at a same time. As I have seen the demo, I feel the batch editing is good option for us.

But we might have a issue that, we need to allow user to select a data from different controls such as Dropdown list, Datepicker and may be some other. In one of the demo sample, I have seen that Dropdown list is added to a column by specifying Foreign Key column mapping (If I am not wrong, that has been done by using Entity Framework).
 
We are using Model class as source to bind the Grid and we are not using Entity Framework here. By binding Model class is it possible that, we can add these different controls to the columns and is there any examples or sample code?

Regards!

2 Answers, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 22 Oct 2014, 06:37 AM
Hi Venkat,

Please note that using the EntityFramework is not required for the custom editors in the Grid columns. For more information about how to specify custom editors you can check the following help article:

Also for convenience I included small example of defining ForeignKeyColumn that is bind to data from repository that uses local data (no DataBase) which you can use as baseline.

Regards,
Vladimir Iliev
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.

 
0
Venkat
Top achievements
Rank 1
answered on 25 Oct 2014, 11:02 AM
Hi Vladimir,

Thanks for the reply will have a look and check the same.

Regards!
Tags
Grid
Asked by
Venkat
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Venkat
Top achievements
Rank 1
Share this question
or