Get Record List Field Elements
Get Record List Field Elements - kintone.app.getFieldElements()
Retrieves the field elements of fields in the record list as an array, by specifying a field code.
Function
Desktop
kintone.app.getFieldElements(fieldCode)
Mobile
kintone.mobile.app.getFieldElements(fieldCode)
Parameters
PARAMETER | VALUE | REQUIRED | DESCRIPTION |
---|---|---|---|
fieldCode | String | Yes | Specify the field code of the field you want to retrieve. |
Returns
- An array of field elements, or
null
. - An empty array will be returned if there are no records.
null
is returned for pages where it cannot be used.null
is returned if the specified field is not in the record list.null
is returned if a table or a field within a table is specified.
Sample
|
|
Available Pages
- Record list page only if the View Type is List View
Notes
- The retrieval of data and the DOM's
style
is supported. - Changing the internal structure of the DOM may lead to features not functioning correctly after a Kintone update.
- The following fields cannot be retrieved, and
null
will be returned.- Tables
- Fields within tables
- If this API is used during an inline editing of the record list, the returned array will include an element containing the editing UI.