定義一個類:
TMyCxGrid = //method === (AViewInfo TcxGridIndicatorHeaderItemViewInfo) =-, -= (AViewInfo TcxGridIndicatorRowItemViewInfo) == AViewInfo -, - AIndicatorViewInfo.GridRecord.Selected = ACanvas.Font.Style += ACanvas.Font.Style -+ =;
然後調用即可:
tvList.OptionsView.Indicator:=== TMyCxGrid.DrawIndicatorCell;
測試GridMode顯示有問題。