Fill grid with data

In the GUI Builder, you can assign any entity and thus the required data container to a UI component in a simple drag-and-drop manner. The code for this is generated automatically in the background.

  1. Add a grid to the GUI builder.

  2. Drag and drop an entity, e.g. Products onto the Grid.

  3. In the following wizard, select the properties to be displayed in the Grid.

  4. Click OK.
    Image not found

Entity assignment via property

Alternatively, you can assign an entity to a UI component using the Type Arguments property.

  1. Insert a grid into the GUI builder.

  2. Click Properties > Type Arguments.

  3. In the following wizard, search for the Products entity.

  4. Click OK.

    Image not found

Load data set

After typing the Grid on a specific entity, it is possible to fill it via its DAO (e.g. CustomerDAO). For this purpose, the methods that have already been created in the DAO via JPA-SQL are displayed in the DataProvider property.