kryslt / KControls

Free components for Delphi and Lazarus, this is the main repository maintained by the original author.
BSD 3-Clause Clear License
59 stars 32 forks source link

when rowcount=fixrowcout fixrow lost #13

Closed kryslt closed 4 years ago

kryslt commented 5 years ago

Original report by liuzg2 (Bitbucket: liuzg2, GitHub: liuzg2).


6854 FixedCount := Min(FixedCount, ItemCount - 1); <<< keep fixrow

FixedCount := Min(FixedCount, ItemCount - 1);

kryslt commented 4 years ago

Not a bug, this is indended behavior. If you want FixedRows to persist then you must guarantee in your code that RowCount is always bigger than FixedRows.