new DynamicRecord()
- Source:
Methods
aliasedFieldName(attribName, childIndex) → {Promise}
- Source:
Get the best user-friendly name of a field. Uses alias if alias is defined, else uses the system attribute name.
Parameters:
Name | Type | Description |
---|---|---|
attribName |
String | the attribute name we want a nice name for |
childIndex |
String | index of the child layer whos attributes we are looking at |
Returns:
resolves to the best available user friendly attribute name
- Type
- Promise
checkDateType(attribName, childIndex) → {Promise}
- Source:
Check to see if the attribute in question is an esriFieldTypeDate type.
Parameters:
Name | Type | Description |
---|---|---|
attribName |
String | the attribute name we want to check if it's a date or not |
childIndex |
String | index of the child layer whos attributes we are looking at |
Returns:
resolves to true or false based on the attribName type being esriFieldTypeDate
- Type
- Promise
getFormattedAttributes(childIndex) → {Promise}
- Source:
Retrieves attributes from a layer for a specified feature index
Parameters:
Name | Type | Description |
---|---|---|
childIndex |
String | index of the child layer to get attributes for |
Returns:
promise resolving with formatted attributes to be consumed by the datagrid and esri feature identify
- Type
- Promise