
Announcements
Hi,
I am wondering, maybe I miss out something
using Gallery, there is function 'Allitems' where other screen or object can use it
to access data populated in Gallery -> items
However, using 'Data Table' feature, 'Allitems' function is not available
I wonder if there is any way for other screen or object to access the data in 'Data Table' -> items
Seeking advice from the floor
TQ
Hello pakali,
I don't think there's a way to access all the items from a data table. This behavior is similar to other controls behavior (ListBox, ComboBox and others) which allow accessing selected items only. The Gallery control is an exceptrion here mainly because it is considered as a control that usually holds other controls.
My suggestion would be to access items directly from the source of the data table instead. You could also create a collection the data table is bound to in order to get easy access to your items. That collectino could be populated from the data source on Screen.OnStart as an example.