AssignmentPicker

Class for assignment field dropdown, wraps AssignmentGrid within a frame and adds two buttons: Save and Cancel

Class for assignment field dropdown. It's a tab panel having the following tabs:

Tab ref Text Weight Class Description
workTab Work 10 AssignmentGrid Grid with work-resources
materialTab Material 20 AssignmentGrid Grid with material-resources
costTab Cost 30 AssignmentGrid Grid with cost-resources

Each tabs displays resources of corresponding type: work, material and cost. The panel by default hides tabs for resource types not represented in the project. This is controlled by autoHideResourceTypeTabs config.

The panel bottom toolbar also has "Save" and "Cancel" buttons.

Widget ref Text Class Description
saveButton Save Button Save changes button
cancelButton Cancel Button Cancel changes button

Configs

4

Set to true to automatically hide tabs representing resource types not used in the project.

The Event to load resource assignments for. Either an Event or store should be given.

showCostControls: Boolean= false

If set to true this will show rate table columns.

Store for the picker. Either store or projectEvent should be given