Hi Team,
Below is my scenario and I want to write a DataSource xml file for this. Please help me in this regard.
My tables are in the below structure
Now my requirement is to show the the Employee Holdings in a ListGrid for which I need to write a DataSource.
In the DS file whilte joining the Employee Id in EmployeeHoldings table I have written it as follows
But I also need to join Employee Personal Information to show it the user.
So how could I join EmployeeId with 2 different tables and I need to get the information from both the tables regarding Employee and show it to the user.
Your help would be higly useful for us. Because we have many places where we need to join like this and show data to the user.
We are working on the below environment:
SmartClient version : Isomorphic SmartClient/SmartGWT Framework (9.1p_2014-10-26/PowerEdition Deployment 2014-10-26)
Browser : IE9
Thanks in advance
Below is my scenario and I want to write a DataSource xml file for this. Please help me in this regard.
My tables are in the below structure
Code:
Employee
----------
EmpId
EmpName
Sal
EmployeePersonalInfo
---------------------
EP_EmpId
EmpAddress
EmpImmediateContactAddress
EmpWorkMobile
EmpHomeMobile
EmpLandLine
EmpPassportNumber
EmployeeHoldings
---------------------
EmployeeId
ItemName
ItemQuantityIn the DS file whilte joining the Employee Id in EmployeeHoldings table I have written it as follows
Code:
<field name="EmployeeId" foreignKey="Employee.EmpId" />So how could I join EmployeeId with 2 different tables and I need to get the information from both the tables regarding Employee and show it to the user.
Your help would be higly useful for us. Because we have many places where we need to join like this and show data to the user.
We are working on the below environment:
SmartClient version : Isomorphic SmartClient/SmartGWT Framework (9.1p_2014-10-26/PowerEdition Deployment 2014-10-26)
Browser : IE9
Thanks in advance