Grouping when binding to Local Data

2 posts, 0 answers
  1. Robert
    Robert avatar
    18 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
        .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
    Georgi Krustev avatar
    3723 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. 

    Georgi Krustev

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

Back to Top