Hi there,
I'm on latest nightly of SmartGWT EP Eval 4.1d, developing with an IE 9.
I defined a DynamicForm like this:
filled with some Items, including:
(setCellBorder() method is called due debug purposes). Result of rendered Form is visible into JPEG in attachment.
I'm not able (just tried several combinations of form-defined columns width, span, cell width, setStart\EndRow() etc. etc.) to get "FTP port" TextItem filling all reserved space (difference between other Items could be seen into red squared area into JPEG).
Any ideas?
Thanks a lot.
Luca.
I'm on latest nightly of SmartGWT EP Eval 4.1d, developing with an IE 9.
I defined a DynamicForm like this:
Code:
public KioskEditForm(ListGrid referredGrid) { this.referredGrid = referredGrid; this.referredGridCurrCriteria = referredGrid.getCriteria(); setDataSource(this.referredGrid.getDataSource()); setWidth(WIDTH); setHeight(HEIGHT); setNumCols(4); setColWidths(100, "*", 80, 50); setAutoFocus(true); setUseAllDataSourceFields(false); setCellBorder(1); }
Code:
[...] ftpHostItem = new TextItem(KioskDSFields.FTPHOST.getAlias()); ftpHostItem.setStartRow(true); ftpHostItem.setRequired(true); ftpHostItem.setWidth("*"); ftpPortItem = new TextItem(KioskDSFields.FTPPORT.getAlias()); ftpPortItem.setEndRow(true); ftpPortItem.setRequired(true); ftpPortItem.setWidth("*"); ftpUserItem = new TextItem(KioskDSFields.FTPUSER.getAlias()); ftpUserItem.setColSpan(4); ftpUserItem.setRequired(true); ftpUserItem.setWidth("100%"); [...]
I'm not able (just tried several combinations of form-defined columns width, span, cell width, setStart\EndRow() etc. etc.) to get "FTP port" TextItem filling all reserved space (difference between other Items could be seen into red squared area into JPEG).
Any ideas?
Thanks a lot.
Luca.
Comment