Conditionally hide controls from Excel-Like filtering menu

Thread is closed for posting
2 posts, 0 answers
  1. 63F75A2C-1F16-4AED-AFE8-B1BBD57646AD
    63F75A2C-1F16-4AED-AFE8-B1BBD57646AD avatar
    1572 posts
    Member since:
    Oct 2004

    Posted 07 Jul 2016 Link to this post

    Requirements


    Telerik Product and Version

    3.5+

    Supported Browsers and Platforms

    FF - current and previous
    Chrome - current and previous
    IE8+

    Programming language

    C#, JavaScript

    PROJECT DESCRIPTION 

    This web site demonstrates how to modify the visibility of the elements inside the Excel-Like filtering menu both on server and client-side. For ultimate performance optimization, there is only a single generated menu on server-side by default. If you disable the Visible property of an inner element to false, it won't be shown for any of the columns. If you want to implement a conditional logic depending on the individual column, you can achieve this requirement by using a custom client-side implementation as demonstrated in the attached project.


    Dynamic Pin Image 1
  2. 48B616FE-C1AA-4F45-94E8-33ECAB3720B8
    48B616FE-C1AA-4F45-94E8-33ECAB3720B8 avatar
    1 posts
    Member since:
    Sep 2012

    Posted 14 Sep 2016 in reply to 63F75A2C-1F16-4AED-AFE8-B1BBD57646AD Link to this post

    Thank you for the quick response. This almost got me there. Additionally updated the position of the menu and height. Found the control of the filter check-list and set the height.

    Now it is perfect.

Back to Top

This Code Library is part of the product documentation and subject to the respective product license agreement.