This is a migrated thread and some comments may be shown as answers.

Disabled Cells Class

1 Answer 62 Views
Spreadsheet
This is a migrated thread and some comments may be shown as answers.
Marc
Top achievements
Rank 1
Marc asked on 05 Dec 2016, 12:40 PM
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.

1 Answer, 1 is accepted

Sort by
0
Accepted
Patrick | Technical Support Engineer, Senior
Telerik team
answered on 05 Dec 2016, 04:34 PM
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.
Tags
Spreadsheet
Asked by
Marc
Top achievements
Rank 1
Answers by
Patrick | Technical Support Engineer, Senior
Telerik team
Share this question
or