Double Click Issue on Cross Tab
Double Click Issue Fix:
In Design Studio we often make use of Cross Tab Component to analyze data and we have an “on select” event on this Cross Tab Component where we can write a script to control the user interaction.
Example: User opens an application and this is what he sees initially
Now if the user clicks on a selection i.e on “Preplacement Deferrals” he can jump to its details with the below script
This works fine… and below is the output
But what if the user clicks twice??
The same detail report shown above would open first and then a wheel would spin and get you unwanted data as shown in the below respective screen shots.
The reason for this sporadic behavior of the application is the script which we have written on the “on select” event of the cross tab and this needs to be optimized further!
Below is the script to fix the issue:
- DS.setFilter(“ZSERSTYP”, CROSSTAB_1.getSelectedMember(“ZSERSTYP”).internalKey);
Here, I added an additional condition using a variable in a “if else” statement so that application doesn’t react to the number of clicks and remain stable!