DefaultElement

DefaultElement

is an option for Grid and related constructs which specifies what to insert when a new element is interactively created.

Details

  • The default setting for DefaultElement is typically "[Placeholder]" or "".
  • When creating palettes, DefaultElement is typically set to Button[""].
  • The setting for DefaultElement is used to determine the contents of new columns or rows in a grid created with or .

Examples

Basic Examples  (1)

In[1]:=
Click for copyable input

Copy and use Evaluate in Place () to display as an actual grid:

In[2]:=
Click for copyable input

Click "" and press or :

In[3]:=
Click for copyable input

See Also

Item  Placeholder

Introduced in 2007
(6.0)