Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.gwtext.client.widgets.grid
Interface Renderer

    public interface Renderer

Inteface for custom Grid column rendering.

See Also:
  `ColumnConfig.setRenderer(Renderer)`

Method Summary
`java.lang.String` | `render(java.lang.Object value, CellMetadata cellMetadata, Record record, int rowIndex, int colNum, Store store)` Renderer function.

Method Detail

### render

    java.lang.String render(java.lang.Object value,
                            CellMetadata cellMetadata,
                            Record record,
                            int rowIndex,
                            int colNum,
                            Store store)

  Renderer function.

  Parameters:
    `value` - the cells value. When working with numberic data, cast the value to `Number` and not to a specific data type line Integer or Float as the class type is inferred from the data
    `cellMetadata` - the grid cell metadata. Can be use to customize the apperanace of the grid cell
    `record` - the record corresponding to the row
    `rowIndex` - the row index
    `colNum` - the column number
    `store` - the Grid's data store
  Returns:
    the rendered cell content (can include html)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD