...
Info | ||
---|---|---|
| ||
The refresh scheme is not used to mention on which tables to refresh the data, actually the tables present in refresh schemes represent a list of listeners for the changes that will occur in the mentioned tables, which means that if an update / add / delete is done on one of the tables specified in the refresh schemes then the refresh will be done on the DSO table, not the other way around. |
Starting with the SWAT 2019.23 release, also SkipRefresh parameters are available.
...
Code Block | ||
---|---|---|
| ||
{ 'Tables': 'Table1*,Table2*', 'AddRepositionTo': '#NewRecord,#KeepSelection', 'UpdateRepositionTo':'#KeepSelection,#KeepSelection', 'RemoveRepositionTo': '#NextRow,#KeepSelection' , 'RepositionToKey' : 'selfhdl,user_key' } |
Starting with 2020.13, a new parameter refreshConditionCallback is available, support for callback refreshScheme method:
Code Block | ||
---|---|---|
| ||
{
"Tables" : "Table1,Table2",
"UpdateSkipRefresh": "Table2",
"RefreshConditionCallback":"akioma.Function_Name(eventSource)"
} |