Hi,
I'm using: v9.0p_2014-01-14/Pro Deployment (built 2014-01-14). And I running into some problems:
I have a field in the DB (mysql, TEXT type) containing some HTML code.
And I'm trying to use BlurbItem for displaying data from that field, but I cannot find any possible solutions for displaying the item with scroll bars.
Tried to set
, but it does not work, because of DynamicForm. The form will have overflow:hidden CSS attribute even if I set:
So the BlurbItem will inherit the same.
P.S. I'm trying to display it in the popup window with such config:
Sources for DynamicForm and BlurbItem with the problem:
And browser: Google Chrome, version: 35.0.1916.153 m
Please could you let me know how to fix this, or could you provide better solution (maybe using CanvasItem instead) for me?
Thanks,
S.
I'm using: v9.0p_2014-01-14/Pro Deployment (built 2014-01-14). And I running into some problems:
I have a field in the DB (mysql, TEXT type) containing some HTML code.
And I'm trying to use BlurbItem for displaying data from that field, but I cannot find any possible solutions for displaying the item with scroll bars.
Tried to set
Code:
setClipValue(false)
Code:
form.setOverflow(Overflow.AUTO);
P.S. I'm trying to display it in the popup window with such config:
Code:
VLayout composite = new VLayout(); setIsModal(true); setShowModalMask(true); centerInPage(); addItem(composite);
Code:
private void createView(VLayout composite) {
DynamicForm form = new DynamicForm();
form.setOverflow(Overflow.SCROLL);
form.setWidth100();
form.setHeight100();
BlurbItem item = new BlurbItem();
item.setDefaultValue(HTML_CODE);
item.setShouldSaveValue(false);
item.setWidth(580);
item.setHeight(400);
item.setShowTitle(true);
item.setWrap(true);
item.setCanSelectText(true);
item.setClipValue(true);
item.setCanFocus(true);
item.setCanEdit(true);
form.setItems(item);
composite.addMember(form);
}
Please could you let me know how to fix this, or could you provide better solution (maybe using CanvasItem instead) for me?
Thanks,
S.
Comment