| Line 204... |
Line 204... |
| 204 |
table.addColumn(expectedDeliveryDateColumn, "Expected Delivery");
|
204 |
table.addColumn(expectedDeliveryDateColumn, "Expected Delivery");
|
| 205 |
table.addColumn(statusMessageColumn, "Current Status");
|
205 |
table.addColumn(statusMessageColumn, "Current Status");
|
| 206 |
|
206 |
|
| 207 |
//Set the widths
|
207 |
//Set the widths
|
| 208 |
table.setWidth("100%");
|
208 |
table.setWidth("100%");
|
| 209 |
table.setColumnWidth(checkboxColumn, 40, Unit.PX);
|
209 |
table.setColumnWidth(checkboxColumn, 30, Unit.PX);
|
| 210 |
table.setColumnWidth(promisedShippingDateColumn, 130.0, Unit.PX);
|
210 |
table.setColumnWidth(promisedShippingDateColumn, 140.0, Unit.PX);
|
| 211 |
table.setColumnWidth(paymentModeColumn, 60.0, Unit.PX);
|
211 |
table.setColumnWidth(paymentModeColumn, 60.0, Unit.PX);
|
| 212 |
table.setColumnWidth(idColumn, 70.0, Unit.PX);
|
212 |
table.setColumnWidth(idColumn, 70.0, Unit.PX);
|
| 213 |
table.setColumnWidth(productDescriptionColumn, 240.0, Unit.PX);
|
213 |
table.setColumnWidth(productDescriptionColumn, 230.0, Unit.PX);
|
| 214 |
table.setColumnWidth(creationDateColumn, 130.0, Unit.PX);
|
214 |
table.setColumnWidth(creationDateColumn, 140.0, Unit.PX);
|
| 215 |
table.setColumnWidth(promisedDeliveryDateColumn, 130.0, Unit.PX);
|
215 |
table.setColumnWidth(promisedDeliveryDateColumn, 140.0, Unit.PX);
|
| 216 |
table.setColumnWidth(expectedDeliveryDateColumn, 130.0, Unit.PX);
|
216 |
table.setColumnWidth(expectedDeliveryDateColumn, 140.0, Unit.PX);
|
| 217 |
table.setColumnWidth(statusMessageColumn, 200.0, Unit.PX);
|
217 |
table.setColumnWidth(statusMessageColumn, 180.0, Unit.PX);
|
| 218 |
|
218 |
|
| 219 |
table.setRowCount(count, true);
|
219 |
table.setRowCount(count, true);
|
| 220 |
table.setVisibleRange(start, orders.size());
|
220 |
table.setVisibleRange(start, orders.size());
|
| 221 |
|
221 |
|
| 222 |
// Connect the table to the data provider.
|
222 |
// Connect the table to the data provider.
|