Trace: • Data API
Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
flutterui:data_api [2020/08/06 23:12] admin |
flutterui:data_api [2020/08/06 23:18] (current) admin |
||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ~~NOPDF~~ | ~~NOPDF~~ | ||
| - | For managing the data of a screen, the **CustomScreen** provides a simple API which can be accessed via **getDataApi('DATA_PROVIDER_NAME')** from anywhere in it's extended classes. | + | For managing the data of a screen, the **CustomScreen** provides a simple API which can be accessed via ''%%getDataApi('DATA_PROVIDER_NAME')%%'' from anywhere in it's extended classes. |
| - | This API provides the following functions: | + | This API provides following functions: |
| * ''%%dynamic getValue(String columnName)%%''\\ Provides the value of a specific column | * ''%%dynamic getValue(String columnName)%%''\\ Provides the value of a specific column | ||
| - | * ''%%List getValues(List columnNames)%%''\\ Provides a list of values for the specified columns | + | * ''%%List getValues(List columnNames)%%''\\ Provides a list of values for the specified columns\\ |
| * ''%%setValue(String columnName, dynamic value)%%''\\ Sets the value for a specific column | * ''%%setValue(String columnName, dynamic value)%%''\\ Sets the value for a specific column | ||
| * ''%%setValues(List columnNames, List values)%%''\\ Sets the values for a list of specified columns | * ''%%setValues(List columnNames, List values)%%''\\ Sets the values for a list of specified columns | ||
