Skip to content

Specify custom sorting on split-by/group-by entries in datagrid #2001

@ja-b

Description

@ja-b

Support Question

How do I specify custom sorting on split-by/group-by entries in the perspective-viewer-datagrid?

Say I have the following

image

Where I'd like to sort the 18M, 1Y, 2Y etc. columns differently than the default string-sorting method built-in (one thats aware of the spans they represent). I tried looking for an example of this but couldn't find anything.

I'm interacting with this via Panel, which uses the Perspective Python-API under the hood.

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