FNCTableView text with multiple colors

Hello

Right now latest version of FNCTableView works pretty well for the needs of my users, I hope the rest of TMS community too.

On the image above thanks to your HTML capabilities I can make more legible some data for my users.

However I can see slow devices specially Androids struggle with houndred and thousand items, the FNCTableView control is too slow, the only workaround it is use plain text without HTML.

Is it possible you can make multiple colors as the FMXTableView that we have a caption and a description properties so we can decide to paint with different font color each one of them.

I don't want you to add the same for FNCTableView, do you think is possible to specify part of the text property of one item with one color and the rest with other color as the image above?

Regards

Nothing prevents you from overriding the text drawing with the event OnBeforeDrawItemText and do the text drawing your self in multiple lines:

procedure TForm4.TMSFNCTableView1BeforeDrawItemText(Sender: TObject;
  AGraphics: TTMSFNCGraphics; ARect: TRectF; AItem: TTMSFNCTableViewItem;
  AText: string; var AAllow: Boolean);
var
  r: TRectF;
begin
  AAllow := False;
  AGraphics.Font.Color := gcRed;

  r := RectF(ARect.Left, ARect.Top, ARect.Right, ARect.Top + (ARect.Bottom - ARect.Top) / 2);
  AGraphics.DrawText(r, AText);

  AGraphics.Font.Color := gcBlue;
  r := RectF(ARect.Left, ARect.Top + (ARect.Bottom - ARect.Top) / 2, ARect.Right, ARect.Bottom);
  AGraphics.DrawText(r, 'Second Line');
end;

The second line data could be stored in Item.DataString for example.

Hello

I tested your workaround, indeed it's a posible solution, however the user will lose the dynamic autoheight of every item in case the text exceed the minimum height of the row.

As I wrote you before it's not my intention to force TMS to add old FMX capabilities.

Thanks for your support