String[] projects = new String[] {
"New Costing System", "Warehousing Improvements", "Evaluate AJAX Frameworks", "Upgrade Postgres", "Online Billing"
};
DataSource employeesDS = EmployeeXmlDS.getInstance();
final ListGrid employeesGrid = new ListGrid();
employeesGrid.setWidth(300);
employeesGrid.setHeight(224);
employeesGrid.setDataSource(employeesDS);
employeesGrid.setCanDragRecordsOut(true);
employeesGrid.setDragDataAction(DragDataAction.COPY);
employeesGrid.setAutoFetchData(false);
ListGridField employeeIdField = new ListGridField("EmployeeId");
employeeIdField.setWidth("25%");
ListGridField nameField = new ListGridField("Name");
employeesGrid.setFields(employeeIdField, nameField);
DataSource teamMembersDS = TeamMembersXmlDS.getInstance();
final ListGrid projectGrid = new ListGrid();
projectGrid.setWidth(300);
projectGrid.setHeight(264);
projectGrid.setDataSource(teamMembersDS);