reformat
This commit is contained in:
@@ -14,52 +14,31 @@
|
||||
<TableView fx:id="tblOrders" editable="true">
|
||||
<columns>
|
||||
<TableColumn minWidth="200.0" prefWidth="200.0" text="Товар">
|
||||
<cellValueFactory>
|
||||
<PropertyValueFactory property="name"/>
|
||||
</cellValueFactory>
|
||||
<cellValueFactory><PropertyValueFactory property="name"/></cellValueFactory>
|
||||
</TableColumn>
|
||||
<TableColumn minWidth="80.0" prefWidth="80.0" text="Цена">
|
||||
<cellFactory>
|
||||
<DoubleCell/>
|
||||
</cellFactory>
|
||||
<cellValueFactory>
|
||||
<PropertyValueFactory property="price"/>
|
||||
</cellValueFactory>
|
||||
<cellFactory><DoubleCell/></cellFactory>
|
||||
<cellValueFactory><PropertyValueFactory property="price"/></cellValueFactory>
|
||||
</TableColumn>
|
||||
<TableColumn fx:id="count" minWidth="80.0" prefWidth="80.0" text="Кол-во">
|
||||
<cellValueFactory>
|
||||
<PropertyValueFactory property="count"/>
|
||||
</cellValueFactory>
|
||||
<cellValueFactory><PropertyValueFactory property="count"/></cellValueFactory>
|
||||
</TableColumn>
|
||||
<TableColumn minWidth="120.0" prefWidth="120.0" text="Покупатель">
|
||||
<cellValueFactory>
|
||||
<OfferCellValueImpl property="buyer"/>
|
||||
</cellValueFactory>
|
||||
<cellValueFactory><OfferCellValueImpl property="buyer"/></cellValueFactory>
|
||||
</TableColumn>
|
||||
<TableColumn minWidth="80.0" prefWidth="80.0" text="Прибыль">
|
||||
<cellFactory>
|
||||
<DoubleCell/>
|
||||
</cellFactory>
|
||||
<cellValueFactory>
|
||||
<PropertyValueFactory property="profit"/>
|
||||
</cellValueFactory>
|
||||
<cellFactory><DoubleCell/></cellFactory>
|
||||
<cellValueFactory><PropertyValueFactory property="profit"/></cellValueFactory>
|
||||
</TableColumn>
|
||||
|
||||
<TableColumn resizable="false" text="Максимум">
|
||||
<columns>
|
||||
<TableColumn fx:id="maxCount" minWidth="80.0" prefWidth="80.0" text="Кол-во">
|
||||
<cellValueFactory>
|
||||
<PropertyValueFactory property="max"/>
|
||||
</cellValueFactory>
|
||||
<cellValueFactory><PropertyValueFactory property="max"/></cellValueFactory>
|
||||
</TableColumn>
|
||||
<TableColumn fx:id="bestProfit" minWidth="80.0" prefWidth="80.0" text="Прибыль"
|
||||
sortType="DESCENDING">
|
||||
<cellFactory>
|
||||
<DoubleCell/>
|
||||
</cellFactory>
|
||||
<cellValueFactory>
|
||||
<PropertyValueFactory property="bestProfit"/>
|
||||
</cellValueFactory>
|
||||
<TableColumn fx:id="bestProfit" minWidth="80.0" prefWidth="80.0" text="Прибыль" sortType="DESCENDING">
|
||||
<cellFactory><DoubleCell/></cellFactory>
|
||||
<cellValueFactory><PropertyValueFactory property="bestProfit"/></cellValueFactory>
|
||||
</TableColumn>
|
||||
</columns>
|
||||
</TableColumn>
|
||||
@@ -74,20 +53,12 @@
|
||||
<TableView fx:id="tblBuyers">
|
||||
<columns>
|
||||
<TableColumn minWidth="120.0" prefWidth="120.0" text="Покупатель">
|
||||
<cellFactory>
|
||||
<OfferTableCell/>
|
||||
</cellFactory>
|
||||
<cellValueFactory>
|
||||
<PropertyValueFactory property="price"/>
|
||||
</cellValueFactory>
|
||||
<cellFactory><OfferTableCell/></cellFactory>
|
||||
<cellValueFactory><PropertyValueFactory property="price"/></cellValueFactory>
|
||||
</TableColumn>
|
||||
<TableColumn fx:id="curProfit" minWidth="80.0" prefWidth="80.0" text="Прибыль" sortType="DESCENDING">
|
||||
<cellFactory>
|
||||
<DoubleCell/>
|
||||
</cellFactory>
|
||||
<cellValueFactory>
|
||||
<PropertyValueFactory property="profit"/>
|
||||
</cellValueFactory>
|
||||
<cellFactory><DoubleCell/></cellFactory>
|
||||
<cellValueFactory><PropertyValueFactory property="profit"/></cellValueFactory>
|
||||
</TableColumn>
|
||||
</columns>
|
||||
<columnResizePolicy>
|
||||
|
||||
Reference in New Issue
Block a user