若想在DBGridEh的某列中隐藏为0的数据,在该列的OnGetCellParams事件中进行判断处理。
procedure TfrmMain.DBGridEh3Columns7GetCellParams(Sender: TObject; EditMode: Boolean; Params: TColCellParamsEh); begin if Params.Text='0.00' then Params.Text:=''; end;
您的邮箱地址不会被公开。 必填项已用 * 标注
评论 *
显示名称 *
邮箱 *
网站
Δ
这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理。