Skip to content

[Idea] Display columns in column-order as they are sorted in the source data.frame #22

@shahronak47

Description

@shahronak47

Using the same example as available in the README (file.show(app)) . The app looks like this

image

Notice that the column in the dropdown has the order height, is_droid, mass but the order that we pass in choices is choices = c("height", "mass", "is_droid"). The column in the dropdown sorts the name and follows an alphabetical order ignoring the order that is passed in choices.

Can this be fixed to make the columns in the dropdown and choices consistent? Similarly, when no value of choices is passed meaning all the columns are part of filter I would expect the column order in dropdown same as that present in table.

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