com.extjs.gxt.ui.client.widget.grid
Interface GridCellRenderer<M extends ModelData>

All Known Implementing Classes:
TreeGridCellRenderer, WidgetTreeGridCellRenderer

public interface GridCellRenderer<M extends ModelData>

Returns the HTML used for a grid cell.


Method Summary
 java.lang.Object render(M model, java.lang.String property, ColumnData config, int rowIndex, int colIndex, ListStore<M> store, Grid<M> grid)
          Returns the HTML to be used in a grid cell.
 

Method Detail

render

java.lang.Object render(M model,
                        java.lang.String property,
                        ColumnData config,
                        int rowIndex,
                        int colIndex,
                        ListStore<M> store,
                        Grid<M> grid)
Returns the HTML to be used in a grid cell.

Parameters:
model - the model
property - the model property
config - the column config
rowIndex - the row index
colIndex - the cell index
store - the data store
grid - the grid
Returns:
the cell HTML or Component instance