List Menus

List

Represents a list of records from a model table. In this type of list, CRUD actions can be configured through a support form.

Multiple Select List

Represents a list of records from a model table where it's possible to select a group of records and proceed with the actions of this list. In this type of list, CRUD actions can be configured through a support form.

Mark/Unchecks items from a list to another list

Represents a list of records from a model table referencing an N:N list. The continuation of this menu is converted into a tab.

  • Mark - Allows associating multiple elements from one list to another list.

  • Unchecks - Allows disassociating multiple elements from one list to another list.

    Topics

  • Use case

  • Implementation

  • Browser rendering


    Use case

    This is an example of use case, you can apply for other purposes.

    Placing products in a cart

    model

First of all, you should implement the model into Genio;

  1. Create the independent tables (PRODUCT and CART)
  2. Then, create the (N:N) table (PRCAR - Product in a cart)

product cart

assoationtable

After the model implementation, you can take advantage of the (N: N) relationship to implement the menu control.

Goal: We want to select or uncheck products from all products list and insert them into the selected cart. The menu structure should be similar to the image below:

menutree

Implementation

  1. Insert a simple menu to label the menu entry;
  2. Then, insert a new menu and choose the "Mark items From List to" or "Uncheck items From List to" (depending on the goal purpose); a. Add the product list; b. Add the list (N: N) in the field for this purpose; c. Add desired columns;

menumarkitems

  1. After saving the menu, add a new menu type "List" in this new menu branch; a. Add the card list;

menulist

Browser rendering

  • Product selection
  1. Select the products that you want.

browserproducts

  • Products placing on cart
  1. Select the specific cart to place the products a. (You can see the selected products listed below carts)
  2. To place the products on the selected cart, click the "Apply" button.

browsercarts

N:N List

Represents a list of records from a model table referencing an N:N list. The continuation of this menu should be a list (DB) related N:N with the current one.