IDEMPIERE-486 Display problem in grid model of Windows>Tab>Field page.
This commit is contained in:
parent
42ab98db0a
commit
343f3215c0
|
@ -392,7 +392,7 @@ public class GridTabRowRenderer implements RowRenderer<Object[]>, RowRendererExt
|
|||
colIndex ++;
|
||||
|
||||
Div div = new Div();
|
||||
String divStyle = "border: none; width: 100%; height: 100%; cursor: pointer;";
|
||||
String divStyle = "border: none; height: 100%; cursor: pointer;";
|
||||
org.zkoss.zul.Column column = (org.zkoss.zul.Column) columns.getChildren().get(colIndex);
|
||||
if (column.isVisible()) {
|
||||
Component component = getDisplayComponent(rowIndex, currentValues[i], gridPanelFields[i]);
|
||||
|
@ -407,6 +407,8 @@ public class GridTabRowRenderer implements RowRenderer<Object[]>, RowRendererExt
|
|||
}
|
||||
}
|
||||
div.setStyle(divStyle);
|
||||
div.setWidth(column.getWidth());
|
||||
div.setHflex("1");
|
||||
div.setAttribute("columnName", gridPanelFields[i].getColumnName());
|
||||
div.addEventListener(Events.ON_CLICK, rowListener);
|
||||
div.addEventListener(Events.ON_DOUBLE_CLICK, rowListener);
|
||||
|
|
Loading…
Reference in New Issue