Filtering Question

6 posts, 0 answers
  1. Tim Larson
    Tim Larson avatar
    19 posts
    Member since:
    Sep 2007

    Posted 17 Dec 2015 Link to this post

    I am using the pivot grid and have a field called Category and Subcategory when I filter down The Category the Subcategory should only show the fields that are associated with the given category.  Right now it shows all of the subcategory records and makes it hard to work with.

    How would I implement this?

     

    Thanks,

    Tim

  2. Hristo Merdjanov
    Admin
    Hristo Merdjanov avatar
    711 posts

    Posted 18 Dec 2015 Link to this post

    Hello Tim,

    Thank you for writing.

    The observed behavior is expected and it follows the pivot behavior in excel which is the same. The items building the tree of the filter popup are populated according to the distinct values provided by the group descriptor. Once a filter gets applied to the group descriptor the popup is updated to display only the items passing the filter.

    Applying a filter on a different level does not automatically update the nodes collection of the other group descriptors. Hiding certain nodes from a popup of a descriptor element which is a subcategory of another descriptor element is possible. For the purpose, you would need to store the unique filtered items of the parent category and once the filter popup of the subcategory is shown, hide nodes according to the filter. Please not that it is not a simple task and may not cover all possible cases.

    I am sending you a sample project showing a sample implementation as well as a short animation showing the result on my end.

    I hope this helps. Should you have further questions please do not hesitate to write back.

    Regards,
    Hristo Merdjanov
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Alex Dybenko
    Alex Dybenko avatar
    119 posts
    Member since:
    Jan 2005

    Posted 13 Oct in reply to Hristo Merdjanov Link to this post

    Hi,

    I am looking for this sample project, but link is broken, is it possible to restore it?

    Alex

     

  5. Hristo Merdjanov
    Admin
    Hristo Merdjanov avatar
    711 posts

    Posted 13 Oct Link to this post

    Hello Alex,

    Indeed the link appears to be broken.

    I am attaching again the project. Please note that this behavior is not supported and the solution might not cover all possible cases.

    I hope this helps. Should you have further questions please do not hesitate to write back.

    Regards,
    Hristo Merdjanov
    Telerik by Progress
    Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms. For more information check out this blog post and share your thoughts.
  6. Alex Dybenko
    Alex Dybenko avatar
    119 posts
    Member since:
    Jan 2005

    Posted 13 Oct in reply to Hristo Merdjanov Link to this post

    Hi Hristo,

    can you pls check, both old and new links are broken

     

    Alex

     

  7. Hristo Merdjanov
    Admin
    Hristo Merdjanov avatar
    711 posts

    Posted 13 Oct Link to this post

    Hi Alex,

    We are currently experiencing an issue with our forums which will be resolved as soon as possible. In case the matter is urgent you can open a ticket and I will send you the project there.

    I hope this helps. 

    Regards,
    Hristo Merdjanov
    Telerik by Progress
    Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms. For more information check out this blog post and share your thoughts.
Back to Top
UI for WinForms is Visual Studio 2017 Ready