top menu gradient

Respond to clicks and keystrokes

When your application responds to the end-user's actions, such as clicks or strokes, by performing an action, we call it an application behavior.

Defining a behavior consists of three steps:

  1. Choosing the component that the user interacts with, for example, a button.
  2. Choosing the thing the user will do, like onClick (we call it a UI event).
  3. Picking the action cell in the spreadsheet that will run in response to the user's UI event.

For an example of a simple behavior, see Use action cells.