Class DefaultDataTable<T,​S>

    • Constructor Detail

      • DefaultDataTable

        public DefaultDataTable​(String id,
                                List<? extends IColumn<T,​S>> columns,
                                ISortableDataProvider<T,​S> dataProvider,
                                int rowsPerPage)
        Constructor
        Parameters:
        id - component id
        columns - list of columns
        dataProvider - data provider
        rowsPerPage - number of rows per page
    • Method Detail

      • newRowItem

        protected Item<TnewRowItem​(String id,
                                     int index,
                                     IModel<T> model)
        Description copied from class: DataTable
        Factory method for Item container that represents a row in the underlying DataGridView
        Overrides:
        newRowItem in class DataTable<T,​S>
        Parameters:
        id - component id for the new data item
        index - the index of the new data item
        model - the model for the new data item.
        Returns:
        DataItem created DataItem
        See Also:
        Item