Groups
Groups
Sign in
Groups
Groups
Handsontable
Conversations
About
Send feedback
Help
Change background color of readonly columns
570 views
Skip to first unread message
Tim Ryan
unread,
Jun 30, 2015, 11:10:34 AM
6/30/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to handso...@googlegroups.com
My question is very simple. How do I change the background color of any column that is readonly? I tried using the
readOnlyCellClassName
option, and I can change the text color, but not the background.
Thanks
Tim Ryan
unread,
Jul 1, 2015, 8:18:58 AM
7/1/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to handso...@googlegroups.com
I'm answering my own question. I ended up using a renderer for all my readonly columns. This did exactly what I wanted.
Elye Mittelman
unread,
Jul 1, 2015, 10:33:31 AM
7/1/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to handso...@googlegroups.com
Or you can add styles in your css for '.htDimmed' something like
.
handsontable
.
htDimmed
{
background
-
color
:
red
!
important
;
}
Reply all
Reply to author
Forward
0 new messages