Skip to content

Resizeable columns #27

@aleksandar-stefanovic

Description

@aleksandar-stefanovic

There should be an additional parameter in the ColumnSpec constructor that defines whether the column should be resizable, and it should be false by default.

Make the right edge of the column header draggable, so that it can be resized. Since the width of the column is set externally, by ColumnSpec, resizing should emit an event with the new width, and it's up to the user to correctly update data on their end.

The implementation is straightforward when it comes the Fixed width columns, however, there are multiple ways to implement the resizing of WrapContent and Flex columns:

  1. Option 1: do not allow those columns to be resizable (even when the parameter is set to true), but possibly give a warning
  2. Option 2: do allow the resizing of those columns, but it is up to the user to then convert the column into a Fixed width column, in order to make it possible to set a specific width to it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions