Oh yes,

To remove all items from a tilelist you just use

collection = new ArrayCollection();

In my example the dataprovider is refilled as a proof of concept.
Commenting the line:

collection = new
ArrayCollection([{first:'John'},{first:'John'},{first:'John'},{first:'John'},{first:'John'},{first:'John'},{first:'John'},{first:'John'},{first:'John'},{first:'John'},]);

will result in a clean Tilelist instance ; )

Reply via email to