Search in sources :

Example 1 with IMiniTable

use of org.compiere.minigrid.IMiniTable in project adempiere by adempiere.

the class VCreateFromShipmentUI method configureMiniTable.

@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());
}
Also used : TableColumn(javax.swing.table.TableColumn) IMiniTable(org.compiere.minigrid.IMiniTable) MiniTable(org.compiere.minigrid.MiniTable)

Aggregations

TableColumn (javax.swing.table.TableColumn)1 IMiniTable (org.compiere.minigrid.IMiniTable)1 MiniTable (org.compiere.minigrid.MiniTable)1