Tables

A table corresponds to a list that will be displayed in the application. A table is presented in the form of columns, each with a header to identify its content, and rows in which the data are displayed. Each row of the table represents a column of the list that will display its content.

Creating a table requires defining the associated Data model, which will allow you to have the corresponding attributes for the composition of the table.

When a table is generated from a Data model, each attribute of the associated data model is added as a column of the table. When a table is generated in CRUD from a Data model, the actions “detail”, “modify”, and “delete” are added in an “actions” column.

The detail page of a table includes the following columns:

  • Name and description: name of each field.
  • Type: type of each field (text, email, link, password…)
  • Data model Attribute: the attribute of the data model to which the field is attached. For example, a field of type « password » could be attached to the « password » attribute of the « user » data model.
  • Default order: indicates on which column the default sorting will be based. For example, the primary sort can be done on a column including the “Date of receipt” of each litigation.
  • Sort order: indicates the default sorting order that will be applied. If the primary sorting is done on the “Date of receipt” column, the sorting order specifies whether the dates should be displayed in normal or reverse chronological order.
  • Actions: indicates whether the column includes action buttons to act on a record, to modify or delete an element.
  • Sortable: indicates for each column if its content can be sorted by clicking on its header.
  • Filterable: indicates which columns can be filtered by the user.
  • Searchable: indicates which columns should be included in a search performed by the user.
Table requirement in ReqBuilder

Share this article