IDEMPIERE-364 Improve Grid Layout / Refactor customizegrid - peer review

This commit is contained in:
Carlos Ruiz 2012-12-07 09:04:51 -05:00
parent 9fc9c8e4f2
commit 0ae714b5ca
1 changed files with 6 additions and 1 deletions

View File

@ -20,6 +20,7 @@ import java.sql.PreparedStatement;
import java.sql.ResultSet; import java.sql.ResultSet;
import java.sql.SQLException; import java.sql.SQLException;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
@ -64,8 +65,11 @@ import org.zkoss.zul.Vbox;
*/ */
public class CustomizeGridViewPanel extends Panel public class CustomizeGridViewPanel extends Panel
{ {
/**
*
*/
private static final long serialVersionUID = -3190425241947591357L;
private static final long serialVersionUID = 4289328613547509587L;
private Map<Integer, String> m_columnsWidth; private Map<Integer, String> m_columnsWidth;
ArrayList<Integer> tableSeqs; ArrayList<Integer> tableSeqs;
GridView gridPanel = null; GridView gridPanel = null;
@ -445,6 +449,7 @@ public class CustomizeGridViewPanel extends Panel
return; return;
// //
int[] indices = yesList.getSelectedIndices(); int[] indices = yesList.getSelectedIndices();
Arrays.sort(indices);
// //
boolean change = false; boolean change = false;
// //