Skip to content

[grid] order table columns by index #10371

@timb086

Description

@timb086

Describe your motivation

As a vue or angular developer it is not common to create elements in Javascript and/or remove them from the dom tree and add again later. So there is an additional functionality needed in order to reorder columns while still beeing attached to the parent. In a MVVM Pattern the position of the column should be changeable by bound model values.

This demonstrates the desired behaviour currently beeing implemented with an angular component library:
Image

Describe the solution you'd like

Add an additional, optional index property in grid column, which positions the table column. Default should be -1, where the order is taken over from the current grid columns index in childNodes.

Describe alternatives you've considered

No response

Additional context

This should only position the generated table column, not the grid column added by the developer, as this would detach it from the flow pendant when using Java.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions