SfListView allows you to display group headers without items at initially using event. It is achieved by defining the dummy items like setting empty string to data of underlying collection. Based on the dummy items, set the ItemSize as ‘0’ and Handled the event in the QueryItemSize event and able to add the items at runtime by using the group header.
The following code snippet explains how to display group headers initially without items and adding items at runtime by using the group header.
The following screenshot shows to displaying the empty groups without items and added items at runtime by tapping the add icon in the group header.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|