Skip to content

Tree and rollup tables are not sortable #1402

@mattrunyon

Description

@mattrunyon

Description

After #1390 tree and rollup tables are not sortable.

The definition added to IrisGridTableModel should be in IrisGridTableModelTemplate because IrisGridTreeTableModel is using the default implementation which just always returns false.

We should also change the default to true probably since the engine should just fail the sort and tell the UI in those cases. According to this comment, the bug where the error was thrown instead of reported as a message to the UI is fixed, so should be fine to default to let the user try to sort (although the default implementation in IrisGridModel won't be hit in our uses)

Steps to reproduce

  1. Create a tree or rollup table.
  2. Try to sort a column that you would normally be able to sort

Expected results

  1. Column sorts

Actual results

  1. Column is not sortable in the UI

Versions

  • Engine Version: 0.26.0
  • Web UI Version: 0.44.0

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions