dBGridEh aggregate setting

1. Set dBGridEh.FooterRowCount := 1
2. Set DBGridEh.SumList.Active := True;
3. Set Columns[required field].Footer.ValueType :=
vtSum

; Be sure to set SumList.Active := False,
because after there is too much data in the dataset, FormClose will let DBGridEh release all EhLib resources, which
will make the exit very slow, so the SumList.Active := False will not cause the exit to be very slow

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325494996&siteId=291194637