3.2.0

change cell border color

Hi,

Can anyone please tell me how to change the cell border color for some cells in rows and columns.

I want to change cell border color based on certain business logic.

Thanks in advance.
Sanjay Sharma
September 15,
Alex, can you please solve my problem
Sanjay Sharma
September 15,
you can either set via a class or a style. here is an example of setting the bottom border to red for a specific cell via the style:

obj.getCellTemplate(2, 3).setStyle("border-bottom", "1px solid #ff0000");
Joel
September 15,
Thanks Joel. It works :)
Sanjay Sharma
September 16,

This topic is archived.

See also:


Back to support forum