/** * Empty message to display in the pickList if {@link com.smartgwt.client.widgets.form.fields.PickList#getHideEmptyPickList * hideEmptyPickList} is <code>false</code>. * * @return String */ public String getEmptyPickListMessage() { return getAttributeAsString("emptyPickListMessage"); }
/** * Base Style for pickList cells. As with ListGrid Cells, will have 'over', 'selected' and 'disabled' appended on * changes of state for the cells. * * @return String */ public String getPickListBaseStyle() { return getAttributeAsString("pickListBaseStyle"); }
/** * If this item has a specified <code>optionDataSource</code>, this attribute may be set to specify an explicit {@link * com.smartgwt.client.data.DSRequest#getOperationId operationId} when performing a fetch against the option dataSource to * pick up display value mapping. * * * @return String */ public String getOptionOperationId() { return getAttributeAsString("optionOperationId"); }
/** * If this form item maps data values to display values by retrieving the {@link * com.smartgwt.client.widgets.form.fields.FormItem#getDisplayField displayField} values from an {@link * com.smartgwt.client.widgets.form.fields.FormItem#getOptionDataSource optionDataSource}, this property denotes the the * field to use as the underlying data value in records from the optionDataSource.<br> If unset, assumed to be the {@link * com.smartgwt.client.widgets.form.fields.FormItem#getName name} of this form item. * * * @return String */ public String getValueField() { return getAttributeAsString("valueField"); }
/** * Src for the picker icon. * * * @return String */ public String getPickerIconSrc() { return getAttributeAsString("pickerIconSrc"); }
/** * Specifies the field by which this item should be initially sorted. Can be set to either a {@link * com.smartgwt.client.widgets.grid.ListGridField#getName 'field name'} or the index of the field in the fields Array. * Note that if <code>sortField</code> is initally specified as a number, it will be converted to a string (field name) * after the item is initialized. <P> To programmatically change sort field or direction after initialization, call * ${isc.DocUtils.linkForRef('sort')}. * * * @return String */ public String getSortField() { return getAttributeAsString("sortField"); }
/** * For Databound formItems, this property determines which column {@link com.smartgwt.client.widgets.form.fields.FormItem#getValueIcons * valueIcons} should show up in for this formItem's pickList.<br> If unset valueIcons show up in the {@link * com.smartgwt.client.widgets.form.fields.PickList#getDisplayField displayField} column if specified, otherwise * the {@link com.smartgwt.client.widgets.form.fields.PickList#getValueField valueField} column.<br> In most cases * only the <code>displayField</code> or <code>valueField</code> will be visible. This property is typically only * required if custom {@link com.smartgwt.client.widgets.form.fields.PickList#getPickListFields pickListFields} * have been specfied for this item. * * @return String */ public String getValueIconField() { return getAttributeAsString("valueIconField"); }
/** * Specifies an alternative field from which display values should be retrieved for this item. <P> The display field can be * either another field value in the same record or a field that must be retrieved from a related {@link * com.smartgwt.client.widgets.form.fields.FormItem#getOptionDataSource optionDataSource}. <P> If this item is not * databound ({@link com.smartgwt.client.widgets.form.fields.FormItem#getOptionDataSource optionDataSource} is unset), or * bound to the same dataSource as the form as a whole, this item will call {@link * com.smartgwt.client.widgets.form.DynamicForm#getValue form.getValue()} the form named after is implemented by picking * up the value of the specified field from the Form's values object. <P> Otherwise this item will attempt to map its * underlying value to a display value by retrieving a record from the {@link * com.smartgwt.client.widgets.form.fields.FormItem#getOptionDataSource optionDataSource} where the {@link * com.smartgwt.client.widgets.form.fields.FormItem#getValueField valueField} matches this item's value, and displaying the * <code>displayField</code> value from that record. Note that if <code>optionDataSource</code> is set and this value is * not set, {@link com.smartgwt.client.widgets.form.fields.FormItem#getDisplayFieldName FormItem.getDisplayFieldName} will * return the dataSource title field by default. <P> This essentially enables the specified <code>optionDataSource</code> * to be used as a server based {@link valueMap}. * * * @return String */ public String getDisplayField() { return getAttributeAsString("displayField"); }