Package org.compiere.minigrid

Examples of org.compiere.minigrid.MiniTable


      DB.close(rs, pstmt);
      rs = null; pstmt = null;
    }

    //  Table
    MiniTable table = null;
    m_modelAtp = new DefaultTableModel(data, columnNames);
    m_tableAtp.setModel(m_modelAtp);
    table = m_tableAtp;
    //
    table.setColumnClass(0, Timestamp.class, true);   //  Date
    table.setColumnClass(1, Double.class, true);      //  Quantity
    table.setColumnClass(2, String.class, true);      //  Partner
    table.setColumnClass(3, Double.class, true);      //  Quantity
    table.setColumnClass(4, Double.class, true);      //  Quantity
    table.setColumnClass(5, String.class, true);       //  Locator
    table.setColumnClass(6, String.class, true);       //  ASI
    table.setColumnClass(7, String.class, true);      //  DocNo
    table.setColumnClass(8, String.class, true);       //  Warehouse
    //
    table.autoSize();
  //  initAtpTab
View Full Code Here


  @Override
  protected void configureMiniTable(IMiniTable miniTable) {
    super.configureMiniTable(miniTable);
    // Set custom cell editor to enable editing locators
    MiniTable swingTable = (MiniTable) miniTable;
    TableColumn col = swingTable.getColumn(3);
    col.setCellEditor(new InnerLocatorTableCellEditor());
  }
View Full Code Here

TOP

Related Classes of org.compiere.minigrid.MiniTable

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.