All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gxt-2.1.1-sources.com.extjs.gxt.ui.client.widget.grid.AggregationRenderer Maven / Gradle / Ivy

There is a newer version: 2.3.1-gwt22
Show newest version
/*
 * Ext GWT - Ext for GWT
 * Copyright(c) 2007-2009, Ext JS, LLC.
 * [email protected]
 * 
 * http://extjs.com/license
 */
package com.extjs.gxt.ui.client.widget.grid;

import com.extjs.gxt.ui.client.data.ModelData;
import com.extjs.gxt.ui.client.store.ListStore;

/**
 * Renderer for aggregation rows in a grid.
 * 
 * @param  the model type
 */
public interface AggregationRenderer {

  /**
   * Returns the rendered HTML or Widget for the given cell.
   * 
   * @param value the calculated value if a summary type has been specified
   * @param colIndex the column index
   * @param grid the containing grid
   * @param store the list store
   * @return the rendered data either as a string or widget
   */
  public Object render(Number value, int colIndex, Grid grid, ListStore store);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy