refresh
Description
This method can be used inside any workspace. Refresh the panel
Method(s)
1 declare function refresh(senderId: string): void;
Parameter | Type | Required | Defaults | Description |
---|---|---|---|---|
senderId | String | true | Sender's id |
Basic Usage
SW.Application.Panel.refresh('BAF13A4B-B0EE-4F64-B9F7-0543778CE383');
refreshDataSource
Description
This method can be used inside any workspace. Refresh the datasource
Method(s)
1 declare function refreshDataSource(filters: Array<{ name: string; value: string }>,
2 params: {senderId: string, refreshSelf: boolean, callBacks?: { afterRefresh: Function }}): void;
Parameter | Type | Required | Defaults | Description |
---|---|---|---|---|
filters | Array | true | Filters for refresh query action | |
senderId | String | true | Sender's id | |
refreshSelf | Boolean | true | Flag for self refresh | |
afterRefresh | Function | false | Callback function triggered after the refresh |
Basic Usage
SW.Application.Panel.refreshDataSource([filters], "98226093-09B6-4E12-B9C6-2AEED2963C31");