StringGrid sorting lost after update
Original Reporter info from Mantis: KatjaD
-
Reporter name:
Original Reporter info from Mantis: KatjaD
- Reporter name:
Description:
Using TStringGrid.ColumnClickSorts works, but after an update of the strings
the columns will not be sorted again. I have to click on the header again.
(two times)
While trying to call the sorting routine after updating the grid, i had to
remark that the variable FSortColumn of TCustomGrid is private and not
published.
If it's not possible to automaticaly resort the grid after an update,
it would be nice to publish at least the property SortColumn.
Steps to reproduce:
- Fill a StringGrid with unsorted strings
- Click on the header to sort the grid
- Fill the grid with other unsorted strings
==> The strings are not sorted
(even that the arrow on the header is stil there)
Additional information:
After Publishing the property SortColumn of TCustomGrid in the
unit Grids i had problems to compile that unit:
Unit Maps: Fatal: Can not find unit AvgLvlTree
After fixing that, i got:
Unit InterfaceBase: Can not find unit LCLProc
Now i gave up and reinstalled lazarus.
Mantis conversion info:
- Mantis ID: 25763
- OS: Windows
- OS Build: Win7
- Build: Lazarus 1.0.14
- Platform: i386
- Version: 2.3 (SVN)
- Fixed in version: 1.3 (SVN)
- Fixed in revision: 44375 (#3c10b218)
- Monitored by: » KatjaD (KatjaD)
- Target version: 1.4