I made a posting some time ago about this topic and somehow got grids to respond properly. We put the dynamic code in the init of the grid
WITH THIS
.SetAll("dynamicbackcolor",;
"IIF(MOD(this.activerow, 2) # 0,RGB(255,254,210), RGB(255,255,255))", "Column")
ENDWITH
THIS.Refresh()
and coloring works ok until you scroll. In the scrolled we have
this.ActivateCell(1,1)
However, if I make field1 in the grid invisible the coloring works! Any suggestions on how to have field1 visible and coloring working?
WITH THIS
.SetAll("dynamicbackcolor",;
"IIF(MOD(this.activerow, 2) # 0,RGB(255,254,210), RGB(255,255,255))", "Column")
ENDWITH
THIS.Refresh()
and coloring works ok until you scroll. In the scrolled we have
this.ActivateCell(1,1)
However, if I make field1 in the grid invisible the coloring works! Any suggestions on how to have field1 visible and coloring working?