Hi,
I have this field created programmatically.
@Override
public void init(Map<String, Object> params) {
super.init(params);
FieldGroup.FieldConfig fieldConfig = fieldGroup.createField("medium");
SearchPickerField pickerField = componentsFactory.createComponent(SearchPickerField.class);
pickerField.setOptionsDatasource(this.mediumEntitiesDs);
pickerField.addLookupAction();
pickerField.addOpenAction();
pickerField.setCaption("Medium");
pickerField.setDatasource(this.campaignEntityDs,"medium");
fieldConfig.setComponent(pickerField);
this.fieldGroup.addField(fieldConfig);
}
Do you know how to set the width 100%? because setWidth("100%")
not working.
should I create the field inside the column and set the column to 100% width (programmatically)?
if so, how? I don’t see it in the documentation.
Thanks