({{, (RefLink[DefaultElement, paclet:ref/DefaultElement]) 
is an option for (RefLink[Grid, paclet:ref/Grid]) and related constructs which specifies what to insert when a new element is interactively created.}})

OpenersNotesSection(Spacer1)Details

The default setting for (RefLink[DefaultElement, paclet:ref/DefaultElement]) is typically "∖[Placeholder]" or "□".

When creating palettes, (RefLink[DefaultElement, paclet:ref/DefaultElement]) is typically set to (RefLink[Button, paclet:ref/Button])["□"].

The setting for (RefLink[DefaultElement, paclet:ref/DefaultElement]) is used to determine the contents of new columns or rows in a grid created with (Key1[ctrl, comma]) or (Key1[ctrl, enter]).

OpenersPrimaryExamplesSection(Spacer1)Examples  (1)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

Grid[{{"a","b"},{"c",\[Placeholder]}},Dividers->All,DefaultElement->"☺"]

Copy and use Evaluate in Place ((Key2[ctrl, shift, enter])) to display as an actual grid:

({{"a", "b"}, {"c", \[Placeholder]}})

Click "□" and press (Key1[ctrl, comma]) or (Key1[ctrl, enter]):

({{"a", "b"}, {"c", \[Placeholder]}, {☺, ☺}})

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[Item, paclet:ref/Item])  ▪  (RefLink[Placeholder, paclet:ref/Placeholder])}})}})