Frontmatter
| id | 2563 |
| title | container.Panel: add the ability to dynamically add headers |
| state | Closed |
| labels | enhancementhelp wantedstale |
| assignees | [] |
| createdAt | Jul 6, 2021, 1:26 PM |
| updatedAt | Sep 16, 2024, 4:36 AM |
| githubUrl | https://github.com/neomjs/neo/issues/2563 |
| author | tobiu |
| commentsCount | 2 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Sep 16, 2024, 4:36 AM |
With the latest changes, we can now use a panel as a container, in case no headers are defined initially.
In case someone would want to add headers into the instance at a later point, we need to enhance the logic.
Please add a comment, in case you need this!
At first, we should move the headers creation logic out of
createItems()into a new method.headers=>headers_afterSetHeaders()=> check for new entries (not contained insideoldValue) and add them.Follow up ticket:
verticalHeadersFirst=>verticalHeadersFirst_. The afterSet method would need to adjust the inner containers as needed.