• Home
  • Refresh Master Detail Detail etc.

Location

AddressCityState
2014 Jabberwocky RdSouthlakeTexas
2011 Interiors BlvdSouth San FranciscoCalifornia
2004 Charade RdSeattleWashington
147 Spadina AveTorontoOntario
8204 Arthur StLondon 
1 - 5Next

Departments

no data found

Employees

no data found

Job history

no data found

Dynamic actions used

Select location
Element .location
Event jQuery Selector
Condition  
Value  
ActionFire whenAffected typeAffected    
Add Class True jQuery Selector .location.ui-icon.ui-icon-bullet Class ui-icon-radio-on
Remove Class True jQuery Selector .location.ui-icon.ui-icon-bullet Class ui-icon-bullet
Remove Class True jQuery Selector #LOCATION .highlight Class highlight
Set Value True Item P41_LOCATION_ID Javascript expression String(this.triggeringElement.id).split('_')[1];
Execute JavaScript Code True     Code $('#'+this.triggeringElement.id).closest('tr').addClass("highlight");
Add Class True Triggering Element   Class ui-icon-bullet
Remove Class True Triggering Element   Class ui-icon-radio-on
Refresh departments
Element P41_LOCATION_ID
Event Item
Condition  
Value  
ActionFire whenAffected typeAffected    
Refresh True Region Departments    
Select department
Element .department
Event jQuery Selector
Condition  
Value  
ActionFire whenAffected typeAffected    
Add Class True jQuery Selector .department.ui-icon.ui-icon-bullet Class ui-icon-radio-on
Remove Class True jQuery Selector .department.ui-icon.ui-icon-bullet Class ui-icon-bullet
Remove Class True jQuery Selector #DEPARTMENT .highlight Class highlight
Execute JavaScript Code True     Code $('#'+this.triggeringElement.id).closest('tr').addClass("highlight");
Set Value True Item P41_DEPARTMENT_ID Javascript expression String(this.triggeringElement.id).split('_')[1];
Add Class True Triggering Element   Class ui-icon-bullet
Remove Class True Triggering Element   Class ui-icon-radio-on
Select employee
Element .employee
Event jQuery Selector
Condition  
Value  
ActionFire whenAffected typeAffected    
Add Class True jQuery Selector .employee.ui-icon.ui-icon-bullet Class ui-icon-radio-on
Remove Class True jQuery Selector .employee.ui-icon.ui-icon-bullet Class ui-icon-bullet
Remove Class True jQuery Selector #EMPLOYEE .highlight Class highlight
Execute JavaScript Code True     Code $('#'+this.triggeringElement.id).closest('tr').addClass("highlight");
Set Value True Item P41_EMPLOYEE_ID Javascript expression String(this.triggeringElement.id).split('_')[1];
Add Class True Triggering Element   Class ui-icon-bullet
Remove Class True Triggering Element   Class ui-icon-radio-on
Refresh employees
Element P41_DEPARTMENT_ID
Event Item
Condition  
Value  
ActionFire whenAffected typeAffected    
Refresh True Region Employees    
Refresh job history
Element P41_EMPLOYEE_ID
Event Item
Condition  
Value  
ActionFire whenAffected typeAffected    
Refresh True Region Job history    
Select first row
Element Departments
Event Region
Condition  
Value  
ActionFire whenAffected typeAffected    
Execute JavaScript Code True     Code $('#'+this.triggeringElement.id).find('[id^="'+this.triggeringElement.id+'"]').filter('button').first().trigger('click');
Select first row
Element Employees
Event Region
Condition  
Value  
ActionFire whenAffected typeAffected    
Execute JavaScript Code True     Code $('#'+this.triggeringElement.id).find('[id^="'+this.triggeringElement.id+'"]').filter('button').first().trigger('click');
Page load set classes selected
Element  
Event  
Condition  
Value  
ActionFire whenAffected typeAffected    
Execute JavaScript Code True     Code if (apex.item('P41_LOCATION_ID').getValue() !== "") { $('#LOCATION_'+ apex.item('P41_LOCATION_ID').getValue()) .removeClass('ui-icon-radio-on') .addClass('ui-icon-bullet') .closest('tr') .addClass('highlight'); } if (apex.item('P41_DEPARTMENT_ID').getValue() !== "") { $('#DEPARTMENT_'+apex.item('P41_DEPARTMENT_ID').getValue()) .removeClass('ui-icon-radio-on') .addClass('ui-icon-bullet') .closest('tr') .addClass('highlight'); } if (apex.item('P41_EMPLOYEE_ID').getValue() !== "") { $('#EMPLOYEE_'+apex.item('P41_EMPLOYEE_ID').getValue()) .removeClass('ui-icon-radio-on') .addClass('ui-icon-bullet') .closest('tr') .addClass('highlight'); }