row-1 and col -1 are my workaround solutions. Works good. But I would still like to get the cell 0 to show a top color which I cannot do (ie. row-1 on row 0 is -1 and that is a no-no). I’ve thought of putting in a dummy row 0 of no height but haven’t tried that yet.
That is the code I tried using. It works on all cell rows except row 0 where the grid does not have a title row (.titles property is blank). So this cell rests on the border of the grid. Interestingly, the .borderBottomColor property does work on the last row of the grid which is also the border to the grid. Something about this row 0.
More. Just found what was happening. On the top row the grid was not positioned all the way to the top. When I used the mouse to move it up just a hair it showed the top row, and it is red. I’ll have to find a way to do this programatically maybe with the scrollTo method.
I’m testing on an inner cell, Cell 2. Grid1.cell(0,2).style.borderTopColor = “red” works but on any other row it does not set the color.
And Grid1.cell(0,2).style.borderTopColor = “” does not work, the color stays red. To clear the color with “” I have to use borderBottom = “” on the cell below.