in GUI Development by
Hi everyone,

I have vertical list and a vertical list items with a delete button on them in my gui,

I want to develop a dynamic list with vertical list but i can not remove an item from the list.

Is it possible to remove an item?

Thanks in advance

1 Answer

0 votes


as explained in the chapter Vertical List, the list itself does not manage any data. It does not store the data, so there is no functionality to add/remove, etc. the items. The list limit to display the item data from a separate data storage. When you scroll the list, for example, the list loads the exposed items from the storage by using the associated OnLoad slot method. With the implementation of the OnLoad method you provide the interface between the list and your particular data storage.

If you want an item to be removed or added, or you want to change the order of the items, you do this always in the data storage where your items are stored. This storage is an application specific aspect. If your application uses a data base, then your modification affects this data base. If your items are stored in an array, then you modify the content of this array. If your items are managed in a middleware, then you have to ask the middleware to modify the data.

Once you have modified the data storage, you notify the list about this alternation. If you have removed/added items from/to the list, also update the number of items the list actually presents. Thereupon the list will (if necessary) refresh its aspect automatically.

See also: Access list items and views.

Best regards

Paul Banach

Ask Embedded Wizard

Welcome to the question and answer site for Embedded Wizard users and UI developers.

Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!

Embedded Wizard Website | Privacy Policy | Imprint