OnGetCellHint

https://stackoverflow.com/questions/1277578/showing-cell-content-on-hint-in-devexpress-grid

procedure TForm1.cxGrid1TableView1Column3GetCellHint(

Sender: TcxCustomGridTableItem; ARecord: TcxCustomGridRecord;

ACellViewInfo: TcxGridTableDataCellViewInfo; const AMousePos: TPoint;

var AHintText: TCaption; var AIsHintMultiLine: Boolean;

var AHintTextRect: TRect);

begin

AHintText := VarToStr(ARecord.Values[Sender.Index]);

AIsHintMultiLine := True;

end;

保存

DataControler.Post;

posted @ 2018-01-10 06:47  后凤凰  阅读(311)  评论(0)    收藏  举报