IDEMPIERE-1355 saved column width, doesn't load original width definition / Thanks to Naim Berisha (nberisha) for the patch
This commit is contained in:
parent
8d365ec53d
commit
5fb2a5a329
|
@ -2792,7 +2792,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
|
||||||
Map<Integer, String> columnsWidth = new HashMap<Integer, String>();
|
Map<Integer, String> columnsWidth = new HashMap<Integer, String>();
|
||||||
ArrayList<Integer> gridFieldIds = new ArrayList<Integer>();
|
ArrayList<Integer> gridFieldIds = new ArrayList<Integer>();
|
||||||
for (int i = 0; i < fields.length; i++) {
|
for (int i = 0; i < fields.length; i++) {
|
||||||
Column column = (Column) columnList.get(i+1);
|
Column column = (Column) columnList.get(i+2);
|
||||||
String width = column.getWidth();
|
String width = column.getWidth();
|
||||||
columnsWidth.put(fields[i].getAD_Field_ID(), width);
|
columnsWidth.put(fields[i].getAD_Field_ID(), width);
|
||||||
gridFieldIds.add(fields[i].getAD_Field_ID());
|
gridFieldIds.add(fields[i].getAD_Field_ID());
|
||||||
|
|
Loading…
Reference in New Issue