When switching between gantt and resources view the resource-column-width is not updated
Asked by Viktor Eriksson 12 years ago.
Have a checkbox where I can switch between gantt-view and resources-view.
Event names are usually longer than resources names and when I switch back to resources-view the resources-column stays the same width as the longes event-name.
Answer posted by Dan Letecky [DayPilot] 12 years ago.
The row header width auto-fit feature works like this:
1. It will extend the width beyond the initial width if needed. It starts from rowHeaderWidth - the new width is never smaller.
2. It stores the updated value back to rowHeaderWidth property.