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

com.extjs.gxt.ui.client.widget.grid.GridCellRenderer Maven / Gradle / Ivy

/*
 * 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;

/**
 * Returns the HTML used for a grid cell.
 */
public interface GridCellRenderer {

  /**
   * Returns the HTML to be used in a grid cell.
   * 
   * @param model the model
   * @param property the model property
   * @param config the column config
   * @param rowIndex the row index
   * @param colIndex the cell index
   * @param store the data store
   * @param grid the grid
   * @return the cell HTML or Component instance
   */
  public Object render(M model, String property, ColumnData config, int rowIndex, int colIndex,
      ListStore store, Grid grid);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy