SmartClient Version: v9.1p_2014-06-04/Pro Deployment (built 2014-06-04)
We have a ComboBoxItem with an optionDataSource/optionOperationId, for field "calendar" (see DS field below).
A DataArrivedHandler handler is added to the ComboBoxItem.
autoFetchData is FALSE.
When clicking the picker icon, the fetch occurs and a DataArrivedEvent is fired for the ResultSet being populated.
However, in the case where a fetch is made to get the displayName for the defaultValue of 1, a DataArrivedEvent does not seem to fire.
1) We were expecting a DataArrivedEvent to be fired for the fetching of the defaultValue displayName.
2) Is there a way to specify a defaultValue along with the defaultValue's display name to avoid this extra fetch to populate the missing display name for the default value?
Thanks
We have a ComboBoxItem with an optionDataSource/optionOperationId, for field "calendar" (see DS field below).
A DataArrivedHandler handler is added to the ComboBoxItem.
autoFetchData is FALSE.
Code:
<field name="calendar" foreignKey="calendar.id" canFilter="false" displayField="calendarName" type="text" defaultValue="1"></field>
However, in the case where a fetch is made to get the displayName for the defaultValue of 1, a DataArrivedEvent does not seem to fire.
1) We were expecting a DataArrivedEvent to be fired for the fetching of the defaultValue displayName.
2) Is there a way to specify a defaultValue along with the defaultValue's display name to avoid this extra fetch to populate the missing display name for the default value?
Thanks
Comment