Grid list box holds a scrollable list of objects arranged in a grid. As you insert the objects in a grid list box, they are placed either in the first row or column. When the objects reach the set width or height of the grid list box, the objects are placed in the next row or column.
When there are more items than fit in a gird list box they become visible as you scroll the grid list box. For example, if you set the height of grid list box layout to 10 and set Layout Direction property to Down, adding three radius 5 spheres adds the second sphere below the first one, but since the third one does not fit into the same column, it is added to the next row and users can access it by scrolling the grid list box.
Users select objects in a grid list box by clicking or tapping the object.
Note that list box items are not children of a list box, even though in Kanzi Studio it seems so when you add items to a list box. Because list box items are not children of a list box, you cannot refer to these items from outside of a list box using paths or aliases. If you need to refer from a list box item to an object outside of a list box, use bindings and aliases. See Using grid list boxes.
To create a grid list box:
You can set the grid list box so that users can scroll it in either horizontal or vertical direction.
To set the scrolling direction for a grid list box:
To show a grid list box as a 2D object:
In the Project select the camera you use to view the list box and in the Properties set properties:
Use an alias to bind a list box item property to a property of an object outside of the list box.
For example, if you have a Grid List Box or a Trajectory List Box with a Text Block item and want to set the Text property value of the Text Block to a value of an Empty Node property that is not in the list box:
{#Empty Node/TextBlock.Text}.