Skip to main content

NIM

Step 18: Add the second grid item (tutorial)

In this step, we'll add & configure the second grid item, as well as some buttons.

  1. Drag and drop another grid to the right of the buttons, and set its properties as follows:

    2023-10-23_11-36-45.jpg
    • id: add_memberships

    • selection: multiple

    • column width: 5

    • margin trbl: __3_

    • search enable: yes

    Tip

    We're calling the right grid add_memberships because it will represent all the groups in AD that the created user should be a member of.

  2. Now, set the dnd grid ("drag 'n drop") property of the left grid to add_memberships (the id of the right grid), and the dnd grid property of the right grid to remove_memberships (the id of the left grid).

    2023-10-26_15-15-57.jpg
    2023-10-26_15-16-07.jpg
  3. Add a new action to the "Add" button, with the following properties:

    2023-10-27_13-35-57.jpg
    • Action Type: Grid drag-and-drop update

    • Target Grid: add_memberships

  4. Add a new action to the "Remove" button, with the following properties:

    2023-10-27_13-32-25.jpg
    • Action Type: Grid drag-and-drop update

    • Target Grid: remove_memberships

  5. Since the buttons are displayed too high relative to the grids, let's place an Empty Column item above the "Add" button and set its properties as follows:

    2023-10-26_15-18-57.jpg
    • height: 120px

    Tip

    Since there is no green drop zone above the "Add" button, you will first need to drop the Empty Column beneath the Remove button. After that, you can drag it up above the Add button.

  6. Finally, drag and drop a button at the bottom of the form, and set its properties as follows:

    2023-10-26_15-21-35.jpg
    • alignment: right

    • button style: success

    • button text: Update Memberships

    • margin trbl: __3_

    We'll configure this button's action later.

  7. We'll click Save to save our progress so far.

Next: Step 19: Grid item filters