App Builder \ Code Events

On Row Select

App Builder & Automation Expert

Stay Updated with ProcFu!

Subscribe to our newsletter for the latest tips, updates, and automation insights.

Subscribe Now
  • Available only in a Data Summary List screen.
  • The "On Row Select" event is triggered whenever a user selects a row within a Summary List screen, which could be in formats such as tables or cards.
  • This is a client-side event that utilizes JavaScript, with jQuery available by default.
  • In addition to all the variables made available in the "On Render" event, the "On Row Select" event introduces a few specific variables:
    • error_message: Set this to block the default action from occurring. The error message must have a value and it must not be "" or null.
    • show_in_modal: Initially set to false. Change this to true if you wish to display the next screen within a modal popup instead of a new page.
    • clicked_id: This holds the ID of the selected row.
    • row_values: An array containing the visible values from the selected row.

    Examples:

    • Restricting Row Selection Based on Status: To prevent users from selecting rows where the item status is "Completed":
      if ( row_values.status == "Completed" ) {
          error_message = "Not Allowed";
      }
    • Displaying Details in a Modal Popup: If you prefer the details of a selected row to appear in a modal popup rather than on a full new screen:
      show_in_modal = true;

Love using ProcFu Guide?

Share your testimonial and let us know how ProcFu has helped you.

Share Your Testimonial

Built with ❤️ by Thaha for the Community