// set the bandbox to readonly
bandbox_OrderList_CustomerSearch.setReadonly(true);
// not used listheaders must be declared like ->
// lh.setSortAscending(""); lh.setSortDescending("")
listheader_OrderList_OrderNo.setSortAscending(new FieldComparator("aufNr", true));
listheader_OrderList_OrderNo.setSortDescending(new FieldComparator("aufNr", false));
listheader_OrderList_OderDescr.setSortAscending(new FieldComparator("aufBezeichnung", true));
listheader_OrderList_OderDescr.setSortDescending(new FieldComparator("aufBezeichnung", false));
// not used listheaders must be declared like ->
// lh.setSortAscending(""); lh.setSortDescending("")
listheader_OrderPosList_Orderpos_No.setSortAscending(new FieldComparator("aupPosition", true));
listheader_OrderPosList_Orderpos_No.setSortDescending(new FieldComparator("aupPosition", false));
listheader_OrderPosList_Shorttext.setSortAscending(new FieldComparator("article.artKurzbezeichnung", true));
listheader_OrderPosList_Shorttext.setSortDescending(new FieldComparator("article.artKurzbezeichnung", false));
listheader_OrderPosList_Count.setSortAscending(new FieldComparator("aupMenge", true));
listheader_OrderPosList_Count.setSortDescending(new FieldComparator("aupMenge", false));
listheader_OrderPosList_SinglePrice.setSortAscending(new FieldComparator("aupEinzelwert", true));
listheader_OrderPosList_SinglePrice.setSortDescending(new FieldComparator("aupEinzelwert", false));
listheader_OrderPosList_WholePrice.setSortAscending(new FieldComparator("aupGesamtwert", true));
listheader_OrderPosList_WholePrice.setSortDescending(new FieldComparator("aupGesamtwert", false));
// ++ create the searchObject and init sorting ++//
// only in sample app init with all orders
HibernateSearchObject<Order> soOrder = new HibernateSearchObject<Order>(Order.class, getPageSizeOrders());
soOrder.addSort("aufNr", false);