:: Forum >>

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
Friday, September 15, 2006
Alex, can you please solve my problem
Sanjay Sharma
Friday, September 15, 2006
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
Friday, September 15, 2006
Thanks Joel. It works :)
Sanjay Sharma
Saturday, September 16, 2006

This topic is archived.


Back to support forum

Forum search