Type Parameters:
T - the model object type
S - the type of the sorting parameter
All Implemented Interfaces:
Serializable, Iterable<Component>, IEventSink, IEventSource, IFeedbackContributor, IConverterLocator, IMetadataContext<Serializable,Component>, IQueueRegion, IHeaderContributor, IPageable, IPageableItems, IRequestableComponent, IHierarchical<Component>, IClusterable

public class BootstrapDefaultDataTable<T,S> extends DataTable<T,S>
An implementation of the DataTable that aims to solve the 90% usecase by adding navigation, headers, an no-records-found toolbars to a standard DataTable stylized with Bootstrap.

The BootstrapNavigationToolbar and the BootstrapHeadersToolbar are added as top toolbars, while the NoRecordsToolbar toolbar is added as a bottom toolbar.

Author:
Eric Hamel eric.hamel@me.com
See Also:
  • Constructor Details

    • BootstrapDefaultDataTable

      public BootstrapDefaultDataTable(String id, List<? extends IColumn<T,S>> columns, ISortableDataProvider<T,S> dataProvider, long rowsPerPage)
      Construct.
      Parameters:
      id - the component id
      columns - list of columns
      dataProvider - data provider
      rowsPerPage - number of rows per page
  • Method Details