Disabled Cells Class

2 posts, 1 answers
  1. Marc
    Marc avatar
    171 posts
    Member since:
    Sep 2016

    Posted 05 Dec 2016 Link to this post

    I'd like to overwrite the disabled cell class, so that for disabled cells, I can give a different font colour. Please can you give me the class name I should overwrite.
  2. Answer
    Patrick
    Admin
    Patrick avatar
    230 posts

    Posted 05 Dec 2016 Link to this post

    Hi Marc,

    Use the following CSS to change the color of your disabled cells:
    <style>
      .k-spreadsheet .k-state-disabled {
        color: red !important;
      }
    </style>

    You can see this approach in this Kendo Dojo by Progress.

    Hope this helps!

    Regards,
    Patrick
    Telerik by Progress
    Kendo UI is ready for Visual Studio 2017 RC! Learn more.
Back to Top