Package org.zkoss.zul

Examples of org.zkoss.zul.FieldComparator


  public void onOpen$bandbox_OrderList_CustomerSearch(Event event) throws Exception {
    // logger.debug(event.toString());

    // not used listheaders must be declared like ->
    // lh.setSortAscending(""); lh.setSortDescending("")
    listheader_CustNo.setSortAscending(new FieldComparator("kunNr", true));
    listheader_CustNo.setSortDescending(new FieldComparator("kunNr", false));
    listheader_CustMatchcode.setSortAscending(new FieldComparator("kunMatchcode", true));
    listheader_CustMatchcode.setSortDescending(new FieldComparator("kunMatchcode", false));
    listheader_CustName1.setSortAscending(new FieldComparator("kunName1", true));
    listheader_CustName1.setSortDescending(new FieldComparator("kunName1", false));
    listheader_CustCity.setSortAscending(new FieldComparator("kunOrt", true));
    listheader_CustCity.setSortDescending(new FieldComparator("kunOrt", false));

    // set the paging params
    paging_OrderList_CustomerSearchList.setPageSize(pageSizeSearchCustomers);
    paging_OrderList_CustomerSearchList.setDetailed(true);
View Full Code Here


    listhead.setSizable(true);
    listhead.setParent(this.lbMonthlyCount);
    final Listheader lh1 = new Listheader();
    lh1.setSclass("FDListBoxHeader1");
    lh1.setWidth("10%");
    lh1.setSortAscending(new FieldComparator("country", true));
    lh1.setSortDescending(new FieldComparator("country", false));
    lh1.setParent(listhead);
    final Listheader lh2 = new Listheader(Labels.getLabel("listheader_SecLoginlogList_CountryCode2.label"));
    lh2.setSclass("FDListBoxHeader1");
    lh2.setWidth("60%");
    lh2.setSortAscending(new FieldComparator("countryName", true));
    lh2.setSortDescending(new FieldComparator("countryName", false));
    lh2.setParent(listhead);
    final Listheader lh3 = new Listheader(Labels.getLabel("ListheaderStatisticTotalCountByCountries.TotalCount.Label"));
    lh3.setSclass("FDListBoxHeader1");
    lh3.setWidth("30%");
    lh3.setSortAscending(new FieldComparator("totalCount", true));
    lh3.setSortDescending(new FieldComparator("totalCount", false));
    lh3.setSortDirection("descending");
    lh3.setParent(listhead);

    final Listfoot listfoot = new Listfoot();
    listfoot.setHeight("20px");
View Full Code Here

    listhead.setSizable(true);
    listhead.setParent(this.lbDailyCount);
    final Listheader lh1 = new Listheader();
    lh1.setSclass("FDListBoxHeader1");
    lh1.setWidth("10%");
    lh1.setSortAscending(new FieldComparator("country", true));
    lh1.setSortDescending(new FieldComparator("country", false));
    lh1.setParent(listhead);
    final Listheader lh2 = new Listheader(Labels.getLabel("listheader_SecLoginlogList_CountryCode2.label"));
    lh2.setSclass("FDListBoxHeader1");
    lh2.setWidth("60%");
    lh2.setSortAscending(new FieldComparator("countryName", true));
    lh2.setSortDescending(new FieldComparator("countryName", false));
    lh2.setParent(listhead);
    final Listheader lh3 = new Listheader(Labels.getLabel("ListheaderStatisticTotalCountByCountries.TotalCount.Label"));
    lh3.setSclass("FDListBoxHeader1");
    lh3.setWidth("30%");
    lh3.setSortAscending(new FieldComparator("totalCount", true));
    lh3.setSortDescending(new FieldComparator("totalCount", false));
    lh3.setSortDirection("descending");
    lh3.setParent(listhead);

    final Listfoot listfoot = new Listfoot();
    listfoot.setHeight("20px");
View Full Code Here

TOP

Related Classes of org.zkoss.zul.FieldComparator

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.