Grouping when binding to Local Data

2 posts, 0 answers
  1. Robert
    Robert avatar
    14 posts
    Member since:
    Feb 2014

    Posted 30 Apr 2015 Link to this post

     

    Is it possible to using the new grouping when binding to local data?

     My current code is:

    .DataSource(ds => ds
        .Custom()
        .Group(g => g.Add("ParentTaskName", typeof(string)))
        .Transport(transport => transport
            .Read(read =>
            {
                read.Action("TaskEditor_Read", "TimeEntry").Data("GetClosestTicketId()");
            })))

    I, however, don't want to use a datasource, I want to bind my dropdown to local data using .BindTo(.....) but still group by the ParentTaskName.

    Is this possible?

  2. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3706 posts

    Posted 04 May 2015 Link to this post

    Hello Robert,

    The group option can be defined only though the DataSource fluent method. Hence you will not be able to combine remote (DataSource) with local (BindTo) data binding. 

    Regards,
    Georgi Krustev
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  3. UI for ASP.NET MVC is VS 2017 Ready
Back to Top