Skip to main content

refresh

Description

This method can be used inside any workspace. Refresh the panel

Method(s)

1   declare function refresh(senderId: string): void;
ParameterTypeRequiredDefaultsDescription
senderIdStringtrueSender'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;

ParameterTypeRequiredDefaultsDescription
filtersArraytrueFilters for refresh query action
senderIdStringtrueSender's id
refreshSelfBooleantrueFlag for self refresh
afterRefreshFunctionfalseCallback function triggered after the refresh

Basic Usage

SW.Application.Panel.refreshDataSource([filters], "98226093-09B6-4E12-B9C6-2AEED2963C31");