Possible to create style of cells attached in screenshot in DHTMLX grid?


#1

Hi,

Is it possible to generate something like this (the screenshot is from an excel file) in DHTMLX Grid?

Thx in advance! :slight_smile:


#2

Looks like I need to take a look at spreadsheet :slight_smile: https://docs.dhtmlx.com/spreadsheet/index.html


#3

You may set the background color for the cell in the grid right in your generated dataset or using the setCellTextStyle() method.
Here is the simple example:
http://snippet.dhtmlx.com/5da7d2e78
Also you may change the color of the column using the setColumnColor() method.
Here you can find a detailed tutorial about the grid elements styling:
https://docs.dhtmlx.com/grid__styling.html


#4

But multiple colors for a cell won’t be possible, I presume?


#5

Unfortunately it is not available to set several colors to a single cell at once.