Get Record Header Menu Element

Get Record Header Menu Element - kintone.app.record.getHeaderMenuSpaceElement()

Retrieves the empty space element of the header of the record, i.e. the space highlighted in the below image.

Function

kintone.app.record.getHeaderMenuSpaceElement()

Parameters

None

Response

  • The space element of the header.
  • Null is returned for pages where it cannot be used.

Sample

1
var el = kintone.app.record.getHeaderMenuSpaceElement();

Available Pages

  • Record Details
  • Record Create
  • Record Edit

Notes

  • The visual aspect of this element may change unexpectedly, as the stylesheet of Kintone takes effect on it.
  • We do not recommend the following changes, as Kintone may function unexpectedly when clicked:
    • adding INPUT elements with TYPE attributes of "submit"
    • adding BUTTON elements to empty elements