We have the assignment editor appearing in two places, where it displays the "Resource Name" and "Units" columns. However, our data model lacks any ability to persist the units, so we'd rather the user didn't have the ability to enter a percentage here.
Is there a nice place you could surface a parameter / hook / decorator to configure this? Or is the best recommendation to override the buildColumns method, or even override Gnt.column.AssignmentUnits with hidden: true?
Gnt.widget.AssignmentEditGrid:
Gnt.field.Assignment:
Support Forum
Probably overriding of Gnt.column.AssignmentUnits will do the trick for you at the moment.mbingham wrote:Is there a nice place you could surface a parameter / hook / decorator to configure this? Or is the best recommendation to override the buildColumns method, or even override Gnt.column.AssignmentUnits with hidden: true?
Thank you for the feedback we'll discuss it internally how to give those controls more flexibility.
Maybe just adding columns config support for Gnt.widget.AssignmentGrid and Gnt.widget.AssignmentEditGrid will be enough.