Hello Meenakshi Sundaram,
the list itself has no functionality to manage data, to hide items or show them again. It is entirely an aspect of the underlying data storage where the item information is available. So, yes, it is possible, but you have to take care of this data management.
In the simplest case, hiding an item would mean that the corresponding item's data is removed from the data storage (e.g. from the array). To show the item again, you add the data back to the storage. Also possible, instead of removing the data from the storage, you could manage for every item a 'hidden' flag. The OnLoadItem slot method should then evaluate the 'hidden' flag and skip over the corresponding items.
In other, more sophisticated case you could create an 'intermediate storage' between the original storage containing the data of all items and the list. This intermediate layer acts then like a filter. It exposes only the items which should be visible in the list.
I hope it helps you further.
Best regards
Paul Banach