IDEMPIERE-1355 saved column width, doesn't load original width definition / Thanks to Naim Berisha (nberisha) for the patch

This commit is contained in:
Carlos Ruiz 2013-09-26 17:27:22 -05:00
parent 8d365ec53d
commit 5fb2a5a329
1 changed files with 1 additions and 1 deletions

View File

@ -2792,7 +2792,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
Map<Integer, String> columnsWidth = new HashMap<Integer, String>();
ArrayList<Integer> gridFieldIds = new ArrayList<Integer>();
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();
columnsWidth.put(fields[i].getAD_Field_ID(), width);
gridFieldIds.add(fields[i].getAD_Field_ID());