Class AbstractExportableColumn<T,​S>

    • Method Detail

      • createDisplayComponent

        protected Component createDisplayComponent​(String componentId,
                                                   IModel<?> dataModel)
        Creates a Component which will be used to display the content of the column in this row. The default implementation simply creates a label with the data model provided.
        Parameters:
        componentId - The component id of the display component.
        dataModel - The model of the data for this column in the row. This should usually be passed as the model of the display component.
        Returns:
        a Component which will be used to display the content of the column in this row.