Firstly is this possible?
I have two issues - the fist is that I cannot get the groups to appear in the TListView when creating at run time. I'm using the following code:
lg := lvResults.Groups.Add;
lg.Header := 'New Starters';
lg.GroupID := 0;
The second is that even if I create groups at design time - I can see them in the form designer - they are absent in at run time - even before I refresh the data to add my own Items...
Additional: I have confirmed the answer below works on a virgin project. However it fails in the Project where I want to use it! I have replaced my TListView with a new one from the palette and no joy. The list view is on a tpagecontrol
OwnerData
was enabled: #10231679 – Roselinerosella