Skip to content

More Features for FilterSortWidgetTable #70

@ZLLentz

Description

@ZLLentz

Expected Behavior

The following were planned for this table widgets in #67, but I haven't gotten to them yet:

  • Allow the user to hide/show rows individually
  • Allow the user to save/load the table arrangement
  • Support resizing to increase the size of the internal widgets (can we do this easily?)
  • Unit tests

Current Behavior

Table works well enough, perhaps a bit slow when there are lots of table items.

Possible Solution

This is a comment block found in my code from about 6 months ago:

# For showing/hiding individual rows (filter exceptions), we can
# Add an extra column at the start that unhides when we enter config mode
# The extra column has a combobox with the show/hide/auto options
# When we filter, we check this combobox first. Show is always shown, etc.
# For saving, we can probably just need:
# - macros for each row in the current logical order
# - the current logical-visual mapping
# - the current show/hide/auto
# - the current filter options
# For loading, we create the rows from the macros file in order,
# then move the visual ordering of the header to match the previous mapping.
# Saving and loading can be in the right-click menu
# For increasing the size on larger monitors... I have no idea.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions