I have an ObjectListView
and I'm showing groups and their corresponding item count. I need to changing the formatting so I did:
dlvList.GroupWithItemCountFormat = "{0} ({1} records)";
dlvList.GroupWithItemCountSingularFormat = "{0} (1 record)";
However, the above formatting is ignored and the default formatting keeps on being done.
Is there any other property that I need to set?
I solved the problem by setting the group formatting at the column level, ie:
mycolumn.GroupWithItemCountFormat = "{0} ({1} records)";
mycolumn.GroupWithItemCountSingularFormat = "{0} (1 record)";