Change font size of the context menu of filter button in filter row

6 posts, 0 answers
  1. Sheng
    Sheng avatar
    11 posts
    Member since:
    Jul 2019

    Posted 20 Sep 2019 Link to this post

    My RadGird allows filtering by column.

    What's the best way to change the font size of the context menu of filter button in filter row?

  2. Rumen
    Admin
    Rumen avatar
    14320 posts

    Posted 25 Sep 2019 Link to this post

    Hi Sheng,

     

    You can increase the font size in the context menu of RadGrid when RenderMode is set to Lightweight using the following CSS class:

     

    <style>
                .RadMenu.RadMenu_Context { font-size: 30px }
    </style>

     

    Regards,
    Rumen
    Progress Telerik

    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  3. Sheng
    Sheng avatar
    11 posts
    Member since:
    Jul 2019

    Posted 27 Sep 2019 in reply to Rumen Link to this post

    Thank you!
  4. Rumen
    Admin
    Rumen avatar
    14320 posts

    Posted 30 Sep 2019 Link to this post

    You are welcome, Sheng!

    Regards,
    Rumen
    Progress Telerik

    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  5. Justin
    Justin avatar
    1 posts
    Member since:
    Jun 2014

    Posted 26 Feb Link to this post

    Just following up this post, I can't seem to change the size of those buttons regardless of whether the grid is set to lightweight or not. Can you confirm that's the correct class for setting the button fonts as well?

     

  6. Rumen
    Admin
    Rumen avatar
    14320 posts

    Posted 28 Feb Link to this post

    Hello Justin,

    For your convenience I made a screenshot based on the info in this blog post, which explains how to find out which is the class responsible for the buttons in the context menu of RadGrid: