SmartGWT SelectItem overlapping GWT DateBox [duplicate]
Question
Possible Duplicate:
GWT Suggestbox with Smartgwt
I have two GWT DateBoxes and one SmartGWT SelectItem for multiple selects with an appearance of PICKLIST.
The problem is that when a DateBox is clicked and the DatePicker is shown, it is BEHIND the SelectItem, as shown in this screenshot:
EDIT: As I do not have 10 reputation yet, I can't post the image. So here is the link:
Here's the code for the SelectItem:
selectItemFilterList.setTitle("Filter:");
selectItemFilterList.setMultiple(true);
selectItemFilterList.setMultipleAppearance(MultipleAppearance.PICKLIST);
selectItemFilterList.setWidth(250);
... values are set here ...
selectItemFilterList.setValueMap(valueMap);
DynamicForm filterForm = new DynamicForm();
filterForm.setItems(selectItemFilterList);
filterForm.setStyleName(style.inline());
addToFilterPanel(filterForm);
Can I fix this issue somehow?
Solution
To fix this I had to set the z-index of the DateBox Popup instead of the DateBox or DatePicker!
After adding the following to my application's css file in the war directory everything works as intended:
.dateBoxPopup {
z-index: 1000001;
}
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow