Package net.pleso.framework.client.bl.rb.columns

Examples of net.pleso.framework.client.bl.rb.columns.IRBDataColumn


   * @see net.pleso.framework.client.ui.controls.dataGrid.interfaces.ISortableColumnHeaderListener#fireOrder(net.pleso.framework.client.ui.controls.dataGrid.SortableColumnHeader)
   */
  public void fireOrder(SortableColumnHeader columnHeader) {
    if (columns[columnHeader.getColumnIndex()] instanceof IRBDataColumn) {
      // get IRBDataColumn from columns array by columnHeader
      IRBDataColumn rbDataColumn = (IRBDataColumn) columns[columnHeader.getColumnIndex()];
      // set new column for order
      params.setOrderByColumnName(rbDataColumn.getDataColumn().getName());
      // if this is same column, than change order direction
      if (rbDataColumn.getDataColumn().getName().equals(params.getOrderByColumnName()))
        params.setOrderByDirection(!params.getOrderByDirection());
      // reload data
      loadData();
    }
  }
View Full Code Here

TOP

Related Classes of net.pleso.framework.client.bl.rb.columns.IRBDataColumn

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.