setCellTextStyle does not work sometimes

Hi,
I set the cell style using this.

grid.setCellTextStyle(2, colIndex, "border: " + "red 1px" + "; background-color: " + "#ffe0e0"); alert(grid.cells(2,colIndex).cell.style.cssText);

The border does not show for the cell, but the back ground color comes up correct.
What is even more puzzling is the alert gives me this:

BORDER-RIGHT: red 1px; BORDER-TOP: red 1px; BORDER-LEFT: red 1px; BORDER-BOTTOM: red 1px; BACKGROUND-COLOR: #ffe0e0

How do i find what is going wrong ?

How do i find what is going wrong ?
Try to use “border: 1px solid red”