Quintiq file version 2.0
|
#parent: listContextMenuKPI/MenuDeselect
|
Response OnClick (
|
structured[KPI] selection
|
) id:Response_listContextMenuKPI_MenuDeselect_OnClick
|
{
|
#keys: '[145730.0.1026744564]'
|
CanBindMultiple: false
|
DefinitionID => /listContextMenuKPI/Responsedef_listContextMenuKPI_MenuDeselect_OnClick
|
QuillAction
|
{
|
Body:
|
[*
|
// Uncheck the selected KPI
|
|
// Clear all checked
|
// Find the difference to re-check (user de-selection are filtered out)
|
ListKPISelection.ClearChecked();
|
toBeChecked := DataHolderSelectedKPI.Data().Difference( selection );
|
|
// Re-check the KPI in list
|
traverse( toBeChecked, Elements, kpisetting )
|
{
|
ListKPISelection.ExtendCheckByKey( kpisetting.Key())
|
}
|
*]
|
GroupServerCalls: false
|
}
|
}
|