Package net.pleso.framework.client.ui.controls.datagrid

Examples of net.pleso.framework.client.ui.controls.datagrid.SortableColumnHeader


          sortBy = ((IRBDataColumn)columns[i]).getDataColumn().getName().equals(params.getOrderByColumnName());
       
        if (sortBy) {
          // current column is sortable. create SortableColumnHeader with Boolean order parameter
          dataGridHeader.setHeaderWidget(i,
              new SortableColumnHeader(i, columns[i].getCaption(), new Boolean(params.getOrderByDirection()), this));
        } else {
          //  current column is NOT sortable. create SortableColumnHeader with null order parameter
          dataGridHeader.setHeaderWidget(i,
              new SortableColumnHeader(i, columns[i].getCaption(), null, this));
        }
      }
    }
  }
View Full Code Here

TOP

Related Classes of net.pleso.framework.client.ui.controls.datagrid.SortableColumnHeader

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.