Hi,
there are 2 logical steps to show memo field content in the rDBGrid.
1/ rDBGrid must recognize that some field is memo field - depends on field type and BlobType for the TBlobField, you should set it to ftMemo, ftFmtMemo, ftWideMemo or set RosiCompConfig.rDBToolCfg.BlobField_ftBlobAsMemo = TRUE , see IsMemoField function
function IsMemoField(Fld: TField): boolean;
var
bt: set of TBlobType;
begin
if RosiCompConfig.rDBToolCfg.BlobField_ftBlobAsMemo then
bt:=[ftBlob]
else
bt:=[];
{$IFDEF D2006P}
Result:=(Fld is TMemoField) or (Fld is TWideMemoField);
if Fld is TBlobField then
if (TBlobField(Fld).BlobType in (bt + [ftMemo, ftFmtMemo, ftWideMemo])) then
Result:=true;
{$ELSE}
Result:=Fld is TMemoField;
if Fld is TBlobField then
if (TBlobField(Fld).BlobType in (bt + [ftMemo, ftFmtMemo])) then
Result:=true;
{$ENDIF}
end;
You can also use OnGeneralEvent with type geIsMemo to define it per any field by custom code.
2/ Set OptionsEx2.Editors.Memo = obtContent
I hope it helps
Tomas