DataFile
Definition
Component for DataFile
Properties
- ColumnNames
- Retrieve the column names of the currently loaded Source file. For CSV files, this will return a List of entries in the first row. For JSON files, this will return a List of keys in the JSON object.
- Columns
- Retrieve a List of columns of the currently loaded Source file.
- DefaultScope
- Specifies the default scope for files accessed using the File component. The App scope should work for most apps. Legacy mode can be used for apps that predate the newer constraints in Android on app file access.
- Rows
- Retrieve a List of rows of the currently loaded Source file.
- SourceFile
- Sets the source file to parse data from, and then parses the file asynchronously. The results are stored in the
Columns
,Rows
andColumnNames
properties. The expected formatting of the file is either the CSV or JSON format.