Monday, April 16, 2018

Refresh IG on Region Display Selector Activation


Interactive Grid region within the region display selector must be refreshed every time on click/activation of the region display selector.
This can be achieved by using the below code there by replacing the complex java scripts:

Code:

$('.apex-rds').data('onRegionChange', function(mode, activeTab) { 
  if (activeTab.href != "#SHOW_ALL"){ 
    apex.region(activeTab.href.replace("#","")).refresh(); 
  } 
});

Output:




1 comment: