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

Overriding the font color for a disabled spreadsheet cell.

1 Answer 241 Views
Spreadsheet
This is a migrated thread and some comments may be shown as answers.
Scott
Top achievements
Rank 1
Scott asked on 13 Mar 2017, 01:24 PM

We are finding out that the text in a disabled cell is too difficult to read as the font color is a too light of a grey.  Is there a way to easily change the font color so that it is more readable for users?

 

Thanks.

 

Scott Rafferty

1 Answer, 1 is accepted

Sort by
0
Ivan Danchev
Telerik team
answered on 14 Mar 2017, 08:23 AM
Hello Scott,

I am not sure where the light grey color of the disabled cells comes from at your end. As you can see in our Disabled cells demo, which uses version 2017.1.223, the disabled cells do not have a different text color. Nevertheless if you want to customize it you can do so by applying the following CSS rule:
.k-spreadsheet-cell.k-state-disabled div {
  color: red;
}

Here's a sample showing the style applied: dojo.

Regards,
Ivan Danchev
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Spreadsheet
Asked by
Scott
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Share this question
or