Atozed Forums
IW15.2.10 TIWGrid cannot change font style/color using OnRenderCell - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: IW15.2.10 TIWGrid cannot change font style/color using OnRenderCell (/thread-2288.html)



IW15.2.10 TIWGrid cannot change font style/color using OnRenderCell - defaultuser - 02-16-2021

Hello, I'm using IW 15.2.10 And Delphi 10.3 trying to change the color of the font of text in cells within an IWGrid when OnRenderCell is triggered:

Code:
.
.
.
procedure WorkFlow.TasksRenderCell(ACell: TIWGridCell;
  const ARow, AColumn: Integer);
begin
  If ARow = 0 then
      exit;
{blue is the standard color for display only data}
    ACell.Font.Color := clBlue;
.
.
.


however, ACell.Font.Color := clBlue; line does not change of the color of the text in the cells. it does work on IW14, but this doesn't seem to work in IW15.2.10. could this be a bug?


RE: IW15.2.10 TIWGrid cannot change font style/color using OnRenderCell - Lorbass - 03-12-2021

Right! I have the same problem.


RE: IW15.2.10 TIWGrid cannot change font style/color using OnRenderCell - defaultuser - 07-19-2021

Bump: any suggestions?


RE: IW15.2.10 TIWGrid cannot change font style/color using OnRenderCell - Alexandre Machado - 07-20-2021

I'll have a look later today and get back to you.

IW 15 caches lots of stuff to improve performance. It may happen that the cache is not being refreshed as it should....


RE: IW15.2.10 TIWGrid cannot change font style/color using OnRenderCell - defaultuser - 07-26-2021

Any updates on this?


RE: IW15.2.10 TIWGrid cannot change font style/color using OnRenderCell - Alexandre Machado - 08-02-2021

I have identified the issue. A fix is being prepared and it should be available soon.


RE: IW15.2.10 TIWGrid cannot change font style/color using OnRenderCell - Alexandre Machado - 08-03-2021

Please update to 15.2.34 (just released). It should fix the font issue.

Please let me know how it goes