Skip to content
This repository has been archived by the owner on Apr 2, 2019. It is now read-only.

Fixes header cell sorting classes for BackbonePageable collections #648

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

devonreed
Copy link

I noticed a couple of problems with the Backgrid header CSS classes w/r/t sorting Backbone.PageableCollection instances. These problems included:

  • multiple columns being marked as the active sorting column (when there should have only been one marked as active)
  • sorting-related CSS classes being cleared when events outside of Backgrid caused collection sort events (specifically getNextPage or getPreviousPage)

This PR addresses these problems.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant