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 | Type | 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.
nullis returned for pages where it cannot be used.nullis returned if the specified field is not in the record list.nullis 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
styleis 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
nullwill 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.