Link Search Menu Expand Document

Get Value from the Selected Item

In the case of adding an Event Action to the On Item Selection Event of a List View or a Grid View, there will be an extra option available during Binding of a parameter. The Selected Item option allows you to bind a parameter based on the user’s selection during the execution of the Event. For example, you can use either the index of the row the user selected or the Data Type assigned to the selected Cell.

Selected Item Position

You can bind the value of the parameter to the index/position of the selected Cell.

Row

An Int which has the value of the Row of the List View or the Grid View.
Note: index starts from 0, so the first row has index 0, and the 10th row has index 9.

Section

An Int which has the value of the Section of the List View or the Grid View.
Note: index starts from 0, so the first section has index 0, and the 10th section has index 9.
Tip: List View and Grid View usually have one section, the 0.

Selected Cell Properties

You can bind a parameter to the properties of the selected Cell. For example, suppose you need to navigate to a User Details Screen for a List of Followers Screen. In that case, you will use the selected Cell’s User property to pass it to the User Details Screen.