IDEMPIERE-2148:Cant add fields over Grid Sequence fields in window column customisation / minor peer review

This commit is contained in:
Carlos Ruiz 2015-01-07 15:06:51 -05:00
parent f93bc28a0d
commit f4f317c3ad
3 changed files with 7 additions and 6 deletions

View File

@ -72,17 +72,17 @@ import org.zkoss.zul.impl.CustomGridDataLoader;
*/ */
public class GridView extends Vbox implements EventListener<Event>, IdSpace, IFieldEditorContainer, StateChangeListener public class GridView extends Vbox implements EventListener<Event>, IdSpace, IFieldEditorContainer, StateChangeListener
{ {
/**
*
*/
private static final long serialVersionUID = -2966799998482667434L;
private static final String HEADER_GRID_STYLE = "border: none; margin:0; padding: 0;"; private static final String HEADER_GRID_STYLE = "border: none; margin:0; padding: 0;";
private static final int DEFAULT_DETAIL_PAGE_SIZE = 10; private static final int DEFAULT_DETAIL_PAGE_SIZE = 10;
private static final int DEFAULT_PAGE_SIZE = 20; private static final int DEFAULT_PAGE_SIZE = 20;
/**
* generated serial version ID
*/
private static final long serialVersionUID = -7151423393713654553L;
private static final int MIN_COLUMN_WIDTH = 100; private static final int MIN_COLUMN_WIDTH = 100;
private static final int MAX_COLUMN_WIDTH = 300; private static final int MAX_COLUMN_WIDTH = 300;

View File

@ -73,7 +73,7 @@ public class CustomizeGridViewPanel extends Panel
/** /**
* *
*/ */
private static final long serialVersionUID = 1592146462575454625L; private static final long serialVersionUID = -6300916636341781651L;
private Map<Integer, String> m_columnsWidth; private Map<Integer, String> m_columnsWidth;
ArrayList<Integer> tableSeqs; ArrayList<Integer> tableSeqs;

View File

@ -62,6 +62,7 @@ public class CustomizeGridViewDialog extends Window {
* @param AD_Tab_ID * @param AD_Tab_ID
* @param columnsWidth * @param columnsWidth
* @param gridFieldIds list fieldId current display in gridview * @param gridFieldIds list fieldId current display in gridview
* @param gridPanel
*/ */
public static boolean showCustomize (int WindowNo, int AD_Tab_ID, Map<Integer, String> columnsWidth,ArrayList<Integer> gridFieldIds,GridView gridPanel) public static boolean showCustomize (int WindowNo, int AD_Tab_ID, Map<Integer, String> columnsWidth,ArrayList<Integer> gridFieldIds,GridView gridPanel)
{ {