Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.

package com.codename1.ui.table

Tables of data.

DataGrid shows a TableModel, or a tree of rows from a TreeTableModel, for data sets of any size: it paints only the rows on screen, and sorts, filters and groups by moving row numbers rather than data. Its columns are GridColumns, painted by a GridCellRenderer and edited in place by a GridCellEditor.

Table lays out a component for each cell with TableLayout, which suits a small form arranged in rows and columns.

Types

class AbstractTableModelThis abstract class extends table model with various capabilities such as type information etc.
class DataGridA grid of data for large sets: a TableModel or a tree of rows, with sorting, filtering, grouping, frozen columns, resizable and movable columns, selection, keyboard navigation and editing in place.
class DefaultGridCellEditorThe editor a DataGrid uses for a column that has none: a text field for text and numbers, a date picker for dates and a picker of the column’s choices.
class DefaultGridCellRendererThe renderer a DataGrid uses for a column that has none: text aligned by kind, a check box for a boolean, and an image scaled to the row.
class DefaultTableModelA default implementation of the table model based on a two dimensional array.
class GridAggregateWhat a group row of a DataGrid shows in a column: the values of the group’s rows folded into one.
class GridCellOne cell of a DataGrid as a renderer or an editor sees it.
interface GridCellEditorEdits the cells of a DataGrid column.
interface GridCellPickerTakes the taps on the cells of a grid while an editor wants them, the way a spreadsheet puts a reference into the formula being typed when a cell is tapped.
interface GridCellRendererPaints the cells of a DataGrid column.
class GridColumnOne column of a DataGrid: which column of the model it shows, its title and width, and how its values are painted, compared and edited.
interface GridFilterDecides which rows of a DataGrid are shown.
interface GridFormatterTurns the values of a GridColumn into the text a cell shows, and the text typed into an editor back into a value.
class GridRowOne row of the data under a DataGrid, as a filter sees it: a row of a TableModel or a node of a TreeTableModel.
class GridSorterThe sort a DataGrid orders its rows with, for any other list of rows.
class SortableTableModelA proxy that wraps the table model providing sorting API that can be leveraged by the table
class TableThe Table class represents a grid of data that can be used for rendering a grid of components/labels.
class TableLayoutTableLayout is a very elaborate constraint based layout manager that can arrange elements in rows/columns while defining constraints to control complex behavior such as spanning, alignment/weight etc.
interface TableModelThe table and table model class are complimentry classes allowing the quick construction of tabular data controls.
class TreeRowsThe open nodes of a TreeTableModel, flattened into rows in the order they are shown: the row engine of a tree DataGrid, for any other view of a tree that needs rows.
interface TreeTableModelThe data of a tree grid: a TreeModel whose every node also has a value in each column.