In SfListView, you can add an item at specific index in a specific group by using property and value of each group. Since, each group is identified by its which holds the underlying data related to the group. When a new item is added at runtime, you need to find that which group does the item belongs to by using , and and after getting the desired group’s value, insert the particular item into a specified index and please follow the below steps to achieve this.
To add a new data into the underlying collection, please refer the following code example,
You can determine that which group does the newly added item belongs to by using KeySelector property and Key value of the group by passing the underlying data into the parameter in the below method.
To add the data into the specific group at the specific index refer the below code example,
Now run the application to render the following output.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
or the page will be automatically redirected to sign-in page in 10 seconds.