Hi,
Is it possible to group items in a sap.m.SelectList control? If yes, can someone provide an example?
I tried with this code, but it doesn't work:
list.bindAggregation( "items", { path : "/StudentSet", template : stTemplate, sorter: { path: 'Year', descending: false, group: true }, groupHeaderFactory: function (oGroup){ return new GroupHeaderListItem( { title: oGroup.Year, upperCase: false } ); }, ...
Thanks,
Robbe Wuyts