AlwaysAdjustRowHeight

Class: TEgDBGridEx

property AlwaysAdjustRowHeight: Boolean default False;

Safety escape hatch for AutoRowHeight and AutoTitleHeight. By default (False), the row/title height adjustment only runs when the dataset has enough records to actually fill the visible data rows, avoiding both an extra RecordCount call and a pointless stretch when the affected space is blank filler rather than real data. Set to True to skip that check and always adjust unconditionally - useful if RecordCount is expensive on a given dataset or provider, where the extra call on every layout change would be more costly than the check it enables.

See Also

(C) 2026 Easygate, Lda