Adding Datapicker, Dropdown and other controls to Kendo Grid

3 posts, 0 answers
  1. Venkat
    Venkat  avatar
    37 posts
    Member since:
    Aug 2014

    Posted 19 Oct 2014 Link to this post

    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. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2203 posts

    Posted 22 Oct 2014 Link to this post

    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.

     
  3. Venkat
    Venkat  avatar
    37 posts
    Member since:
    Aug 2014

    Posted 25 Oct 2014 Link to this post

    Hi Vladimir,

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

    Regards!
Back to Top