I'm trying to implement an "Arrange by" feature for a TListView in Delphi XE2. In the form designer (if I turn off OwnerData) I can get groups to show up and add items to them
However, if I try setting
procedure TMyForm.LVData(Sender: TObject; Item: TListItem);
Item.GroupID := 0;
None of my list items are placed in the group.
Perfunctory information you may also want to know
- ListView is in report mode
- Themes are enabled for application (running on Windows 7)
- GroupView is enabled
- Yes, I have a group with an ID of 0