Skip to content

baseSort clarification  #75

@tsemachh

Description

@tsemachh

Hi
looking at baseSort Doc :
from https://github.com/oria/gridx/wiki/How-to-Sort-a-Column-in-Gridx

And you can never clear the sort. The data in grid will appear that this is its "base" order, and you can only sort on the base of it, and clear back to it.

What I saw and tested:

  1. When this is set with no initialOrder this works as expected , also when sort is cleared this goes back to it.
  2. When initialOrder is set or when user performs sort Operation the sorting is not done on the base of it , it just overrides it.
    So my understanding - it just gives the default base Order before sort is invoked by user from API/UI - this is now what I understood from the Wiki.

Can you please clarify it ?
thx
tsemach.

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