Skip to main content
June 16, 2021
Question

Action and Related Action and also Grid

  • June 16, 2021
  • 5 replies
  • 0 views

Hi,

Could someone let me know ?

1. what are scenarios where we can use ?

a!recordActionItem()

2. Why do we need to define the default value while adding a row using Add Row link?

    is it mandatory?

    

addRowlink: a!dynamicLink(
          label: "Add Employee",
          value: {
            startDate: today() + 1
          },
          saveInto: {
            a!save(local!employees, append(local!employees, save!value))
          }
        )
      )
    }
3. In what scenario/s we will go for Editable Grid

Thanks
Faisal

    5 replies

    danny.verb
    June 16, 2021

    1. a!recordActionItem() can be used within a!gridField() or a!recordActionField() on any interface for taking action against your records. The common related action scenarios would be updating, deleting, or escalating. Let's say you had a record called 'Employees' and a list action called 'Add Employee'. You could put that action on any interface you want using a!recordActionItem()

    2. addRowLink does not require a default value, you can leave it blank. 

    3. You should use an editable grid when your use case requires users to edit data per row inline instead of opening a larger action.

    June 16, 2021

    Thank you so much Danny for your explanation. I will try part 1 first.