LearnNewsExamplesServices
Frontmatter
id2563
titlecontainer.Panel: add the ability to dynamically add headers
stateClosed
labels
enhancementhelp wantedstale
assignees[]
createdAtJul 6, 2021, 1:26 PM
updatedAtSep 16, 2024, 4:36 AM
githubUrlhttps://github.com/neomjs/neo/issues/2563
authortobiu
commentsCount2
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtSep 16, 2024, 4:36 AM

container.Panel: add the ability to dynamically add headers

Closed v8.1.0 enhancementhelp wantedstale
tobiu
tobiu commented on Jul 6, 2021, 1:26 PM

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 inside oldValue) and add them.

Follow up ticket: verticalHeadersFirst => verticalHeadersFirst_. The afterSet method would need to adjust the inner containers as needed.

tobiu added the enhancement label on Jul 6, 2021, 1:26 PM
tobiu added the help wanted label on Jul 6, 2021, 1:26 PM