Column Format in FNCGRID

I use fncGrid to display numbers in my software (Example down).

I need that one column have currency format - $
Other column format percentage - %

Exist a method to give format for column ?

Importe descuento total
$500 5 % $ 450
$1600 1.5 % $ 1368
$2500 3 % $ 2350

Hi,

You can use the following code to accomplish this (sample for money format)

procedure TForm1.TMSFNCGrid1GetCellData(Sender: TObject; ACol, ARow: Integer;
  var CellString: string);
var
  f: Double;
begin
  if TryStrToFloat(CellString, f) then
    CellString := Format('%m', [f]);
end;