Uses of Class
com.jbstrap.ui.components.listgrid.ListGrid
Package
Description
-
Uses of ListGrid in com.jbstrap.ui.components.form.items.selectoritem
-
Uses of ListGrid in com.jbstrap.ui.components.listgrid
Modifier and TypeMethodDescriptionListGrid.addColumn
(ListGridColumn column) Adds a new column to the list grid component.final ListGrid
ListGrid.addComponent
(Component<?> component) No further components can be added to the grid.final ListGrid
ListGrid.addHeaderClickHandler
(ListGridHeaderClickHandler handler) Adds an event handler to the grid for the grid header click event.final ListGrid
ListGrid.addHeaderDoubleClickHandler
(ListGridHeaderDoubleClickHandler handler) Adds an event handler to the grid for the grid header double-click event.final ListGrid
ListGrid.addNextPageRequestHandler
(ListGridNextPageEventHandler handler) Adds an event handler to the grid.final ListGrid
Adds a sorting rule to the previous grid sorting rules.final ListGrid
Adds a new record to the list grid.final ListGrid
final ListGrid
ListGrid.addRecords
(List<Record> records) Adds multiple records to the grid.final ListGrid
ListGrid.addRecords
(List<Record> records, boolean persisted) ListGrid.addRowClickHandler
(ListGridRowClickHandler handler) Row click even handler for the grid.final ListGrid
ListGrid.addRowDoubleClickHandler
(ListGridRowDoubleClickHandler handler) Adds a double-click event handler for the grid row.final ListGrid
ListGrid.clear()
Empties the list grid component; removes all rows and records from the list grid.final ListGrid
ListGrid.clearOrders()
Removes all sorting rules from the grid.ListGrid.deleteRow
(int rowIndex) Removes a row from the grid.ListGrid.deselectAllRows()
Deselecting all rows in the grid.ListGrid.deselectRange
(int firstRow, int lastRow) Deselects all rows that fall within the specified range.ListGrid.deselectRow
(int rowIndex) Removes a row from the grid.ListGrid.deselectRow
(ListGridRow row) Removes a row from the grid.ListGrid.disableFilter()
Disables the list grid filter.ListGrid.exportData
(Parameters params) ListGrid.fetchData()
Queries data from the database The query uses the sort order, the default and custom filter criteria.protected ListGrid
ListGridColumn.getGrid()
final ListGrid
ListGrid.hideColumn
(String columnName) Hides a column in the grid.ListGrid.invertAllRows()
Inverts the selection of all rows in the grid.ListGrid.invertSelection
(int rowIndex) Inverts row selection.ListGrid.invertSelection
(ListGridRow row) Inverts row selection.ListGrid.invertSelectionRange
(int firstRow, int lastRow) Inverts the selection of all rows within the specified range.final ListGrid
ListGrid.removeColumn
(String columnName) Removes a column from the list grid row by referencing its name.final ListGrid
ListGrid.removeDefaultFormatter
(ListGridColumnType type) Deletes the default formatter for the column type.final ListGrid
ListGrid.removeOrder
(Order order) Removes a sorting rule from the grid.final ListGrid
ListGrid.save()
Saves all grid modifications to the database within a single database transaction.final ListGrid
ListGrid.save
(Transaction transaction) Saves all grid modifications to the database within a single database transaction.final ListGrid
ListGrid.scrollToRow
(int rowindex) Scrolls down the list grid to the specified row.ListGrid.scrollToTop()
Scrolls to the top of the list grid; displays the top of the data queried.ListGrid.selectAllRows()
Selects all rows in the grid.ListGrid.selectRange
(int firstRow, int lastRow) Selects all rows that fall within the specified range.ListGrid.selectRow
(int rowIndex) Selects a row in the grid.ListGrid.selectRow
(ListGridRow row) Selects a row in the grid.ListGrid.setAutoFetchData
(boolean autoFetch) Sets automatic data fetch from the database.ListGrid.setColumnListAutoClose
(boolean autoClose) Sets if the context menu should automatically close if the user selects a column in the context menu.ListGrid.setColumnListFilterable
(boolean filterable) Sets the column filter option in the context menu by specifying the column name.ListGrid.setColumnMovable
(boolean columnMovable) Sets the column rearrange option.ListGrid.setColumnResizable
(boolean columnResizable) Sets the column resize option.ListGrid.setCustomFetch
(FetchEvent fetchEvent) Sets a custom query.final ListGrid
ListGrid.setCustomFilter
(Class<? extends BaseFilter<?>> filterClass) Sets a custom filter component for the list grid.final ListGrid
ListGrid.setDataDescriptor
(DataDescriptor dataDescriptor) Sets a DataDescriptor for the list grid component, creates and adds the DataDescriptor columns to the grid.final ListGrid
ListGrid.setDataDescriptor
(DataDescriptor dataDescriptor, boolean buildColumns) Sets the DataDescriptor for the list grid and checks if the columns for the list grid should be created.ListGrid.setDefaultCriteria
(Criteria defaultCriteria) Sets the filter criterion used to filter data.ListGrid.setDefaultFormatter
(ListGridColumnType type, ListGridCellFormatter formatter) Sets the default formatter for the grid using the specified column type.final ListGrid
ListGrid.setDefaultOrder
(Order order) Sets the default sort type for the list grid.final ListGrid
ListGrid.setDefaultOrders
(Order... orders) Sets the default sort order for the list grid.final ListGrid
ListGrid.setDefaultOrders
(List<Order> orders) Sets the default sort order for the list grid.ListGrid.setEmptyPlaceholderTitle
(String title) Sets the placeholder for an empty header.ListGrid.setEnabled
(boolean enabled) Enabling/disabling the grid on the interface.ListGrid.setFetchType
(ListGridFetchType fetchType) List grid data fetch type.ListGrid.setFilterCriteria
(Criteria criteria) Sets the filter criterion used to query the data.final ListGrid
ListGrid.setFilterType
(FilterType filterType) Sets the grid filter type.ListGrid.setFixedScrollbarPosition
(boolean fixedScrollbarPosition) Sets the list grid scrollbar position.final ListGrid
ListGrid.setHeaderContextMenuOrder
(ListGridContextMenuOrder order) Sets the order of the columns in the context menu.final ListGrid
Sets the grid heightfinal ListGrid
ListGrid.setMultiselect
(boolean multiselect) Sets the multiple selection option.final ListGrid
Sets the order of the grid.final ListGrid
Sets the grid order using several rules.ListGrid.setSortable
(boolean sortable) ListGrid.setStriped
(boolean stripped) final ListGrid
Sets the grid widthfinal ListGrid
ListGrid.showColumn
(String columnName) Unhides a previously hidden column in the grid.final ListGrid
ListGrid.showHeader
(boolean showHeader) Sets the list grid header visibility.Modifies a row in the grid.Modifies a cell in the grid.Modifier and TypeMethodDescriptionprotected ListGridColumn
ListGridColumn.setParentGrid
(ListGrid grid) ModifierConstructorDescriptionprotected
ListGridRow
(ListGrid parentGrid, List<ListGridColumn> columns, Record record)