Welcome, Guest Login

Support Center

Favorites Layout

Last Updated: Jun 13, 2017 03:22PM EDT

Favorites

Displays a list of items marked as favorites, from as many data sources as you specify, and allows deleting and reordering of them

Usage

The Layout - Favorites BLOCK allows you to provide a custom block to represent each favorite entry in each data source specified. The provided Favorite Block will handle all UI and interaction based events. If there are no favorites, and an Empty Block is supplied, then it will be overlaid on the Layout - Favorites BLOCK

Parameters

Row Separator Color The color of the line used to separate favorite list items.
Row Height This is the height to display for each row
Empty Block This block will be presented on top of the list when there are no favorites to show.
Number of Data Sources How many different data sources you want this list to show favorites for.
Data Source The data source whose favorites the block will list.
Favorite Block The block that will be displayed for each favorite in the list
Editable Block This is the block that contains the Draggable Disclosure Icon and Delete Icon. For the Drag and Drop functionality to work properly this Block must be a Static Layout Block with the Draggable Disclosure Icon and Delete Icon inside it.
Remove Mode Sets the Removal Mode of the Items in the List, if no value is set it defaults to Fling Option (Android Only)
Grabber Background Color Background Color of the Draggable Item
Disclosure Icon Image Icon used for the Draggable Area (Android Only)
Delete Icon Image Icon used for removing the Item from the List (Android Only)
Delete Dialog Text Text for the Confirm Delete Text (Android Only)
Can Refresh If the data should be refreshed from the Parent Datasource. This is for Dynamic Content. (Android Only)
Sort Columns Put the column names for sorting, separated by a comma. Default sorting is by ascending order. If you would like to sort in descending for a column instead, you can put " desc" after the column name. i.e. if you have a name and publishdate column you can sort by: name desc, publishdate or name, publishdate , etc.

Event(s)

Before Draw, Tap, After Delete

Help us improve! Rate this article:

Yes I found this article helpful

Ask a Question   

support@eachscape.com
http://assets2.desk.com/
false
eachscape
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete