SAP Knowledge Base Article - Public

3560585 - Unexpected Triggering of table.onSelect Event in SAP Analytics Cloud

Symptom

When attempting to filter a member in a table using the context menu, the table.onSelect event is unexpectedly triggered.

Environment

SAP Analytics Cloud

Reproducing the Issue

  1. Right-click on a member in a table.
  2. Choose "Filter member" or "Filter" from the context menu.
  3. The table.onSelect Event is triggered.

Cause

It is a correct behavior.

The 'onSelect' event can be triggered automatically when the table is refreshed while a table cell is selected. That will ensure the user get notified after the selected data is updated. 

Resolution

If it is not required at certain condition, please create a Button and move the scripts in table.onSelect() to Button.onClick().

Keywords

SAP Analytics Cloud, table.select event, filter, hierarchy-member, node, unexpected behavior, context menu, right-click. , KBA , LOD-ANA-AD-INF , Analytics Designer Infrastructure , Problem

Product

SAP Analytics Cloud all versions