public List<Employees__c> getEmployees() { system.debug(Department); if(department != null) { Department__C objdept = [select Id from Department__c where name =: department]; system.debug(objdept.Id); Employees = [select EmployeeName__c from Employees__c where DeptName__c=:objdept.Id]; return Employees;
} return null; }
List<Department__c> lstdept;
public List<selectOption> getDeptName() { List<selectOption> options = new List<selectOption>();
I worked with this code,after u have select departmentname from picklist ,click buttonthen u can get all employees who are belongs to that department then when u mousehoverd on employee name,employee detail page will displayed
Hi Anusha,
Are talking about mini page layout, the window popout when you hover on the lookup field value in standard salesforce pages?
All Answers
page
Hi Anusha,
Are talking about mini page layout, the window popout when you hover on the lookup field value in standard salesforce pages?
No not like that,
when we hover the mouse in record some test have to display.
like 'please click here to see more Info'
will it possible .?
ofcourse it is posible if it is a visualforce page. Simply apply the modal window concept using css and javascript.