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

How to change the color (and other properties) of a cell after initialisation?

1 Answer 309 Views
Spreadsheet
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 29 Apr 2016, 10:31 AM

Is it possible to change the color of a specified cell programmatically, after Spreadsheet initialisation? Apologies if there's documentation to this effect, I haven't managed to find it.

E.g. $("#spreadsheet").data("kendoSpreadhseet").activeSheet().range("J2").setState({background: "#000000"})

1 Answer, 1 is accepted

Sort by
0
Accepted
Alex Gyoshev
Telerik team
answered on 02 May 2016, 10:49 AM

Hello Simon,

Use the background method of the range.

Regards,
Alex Gyoshev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Spreadsheet
Asked by
Chris
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Share this question
or