How do i filter a grouped datasource on items collection

3 posts, 0 answers
  1. Patrick
    Patrick avatar
    29 posts
    Member since:
    Apr 2014

    Posted 25 May 2016 Link to this post

    I have a grouped datasource.  The datasource appears to only let me filter by the "value" / grouped item.  How do I filter on properties such as name that are in the grouped items, "items" collection?

     

     

  2. Patrick
    Patrick avatar
    29 posts
    Member since:
    Apr 2014

    Posted 25 May 2016 in reply to Patrick Link to this post

    More details

    I populate datasource

    categories.push({ parentNode : d.parentNode, node: d.node, identity: d.identity, key: d.key, value : d.value, categories : []});
    I set datasource and group
    dataSource = new kendo.data.DataSource({data: categories); dataSource.group({ field: "value" });
    I then want to filter by node but the only option to filter appears to be the grouped value

  3. Patrick
    Patrick avatar
    29 posts
    Member since:
    Apr 2014

    Posted 26 May 2016 Link to this post

    I was able to work around this by creating a hierarchical dataset instead of a grouped dataset.
Back to Top