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. |
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 modelproperty
- the model propertyconfig
- the column configrowIndex
- the row indexcolIndex
- the cell indexstore
- the data storegrid
- the grid
- Returns:
- the cell HTML or Component instance