We're using SmartGWT Enterprise version 13.0-p20230901.
We are using the com.smartgwt.client.widgets.form.fields.ComboBoxItem Item.
We have created the below ComboBoxItem and set it for a ListGrid Field.
ComboBoxItem item = new ComboBoxItem();
item.setTextAlign(Alignment.LEFT);
item.setDisplayField(******);
item.setValueField(*******);
Now, when we open the open the picker of the ComboBoxItem by clicking the arrow, the picker opens and the previous selected value is getting selected in the picklist.
If the picklist value is in the initial portion of the picklist we are able to see the selected value. If the selected value is in a scrollable height, the picklist of ComboBoxItem is not scrolling to the selected record in the PickList. If I scroll or by pressing down arrow, I was able to see the selected value. But when the picklist is opened it mostly stays in the top of the list or in the last scrolled position.
We tried various possibilities to make the picklist scroll, but we don't have any inbuilt method for the ComboBoxItem to scroll its picklist.
Kindly assist us, whether any property settings might affect this behavior, or we have any other solution to make the ComboBoxItem picklist scroll to the selected value.
We are using the com.smartgwt.client.widgets.form.fields.ComboBoxItem Item.
We have created the below ComboBoxItem and set it for a ListGrid Field.
ComboBoxItem item = new ComboBoxItem();
item.setTextAlign(Alignment.LEFT);
item.setDisplayField(******);
item.setValueField(*******);
Now, when we open the open the picker of the ComboBoxItem by clicking the arrow, the picker opens and the previous selected value is getting selected in the picklist.
If the picklist value is in the initial portion of the picklist we are able to see the selected value. If the selected value is in a scrollable height, the picklist of ComboBoxItem is not scrolling to the selected record in the PickList. If I scroll or by pressing down arrow, I was able to see the selected value. But when the picklist is opened it mostly stays in the top of the list or in the last scrolled position.
We tried various possibilities to make the picklist scroll, but we don't have any inbuilt method for the ComboBoxItem to scroll its picklist.
Kindly assist us, whether any property settings might affect this behavior, or we have any other solution to make the ComboBoxItem picklist scroll to the selected value.
Comment