setID(id);
setTitleField("employeeName");
setRecordXPath("/List/teamMember");
DataSourceIntegerField syntheticField = new DataSourceIntegerField("uniqueSeq");
syntheticField.setHidden(true);
syntheticField.setPrimaryKey(true);
DataSourceTextField nameField = new DataSourceTextField("employeeName", "Name", 128);
DataSourceIntegerField employeeIdField = new DataSourceIntegerField("employeeId", "Employee ID");
employeeIdField.setForeignKey("employeesDS.EmployeeId");
DataSourceTextField projectCodeField = new DataSourceTextField("projectCode", "Project Code", 30);
setFields(syntheticField, nameField, employeeIdField, projectCodeField);