Interface Column.RenderCallback<T,​C>

  • Type Parameters:
    T - the row type
    C - the column type
    Enclosing class:
    Column<T>
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @JsFunction
    @FunctionalInterface
    public static interface Column.RenderCallback<T,​C>
    Function to render the data of a column
    See Also:
    https://datatables.net/reference/option/columns.render
    • Method Detail

      • render

        C render​(C cell,
                 String type,
                 T row,
                 Column.Meta meta)
        Render function
        Parameters:
        cell - the data for the cell
        type - the type call data requested - this will be "filter", "display", "type" or "sort".
        row - the full data source for the row
        meta - an object that contains additional information about the cell being requested
        Returns:
        the return value from the function is what will be used for the data requested