AllenFang/react-bootstrap-table

Change the sorting behavior

Open

#220 opened on Jan 19, 2016

View on GitHub
 (8 comments) (2 reactions) (0 assignees)JavaScript (2,240 stars) (795 forks)batch import
help wanted

Description

Hi,

I would like to be able to do this:

  1. First click on column: sort ascendingly
  2. Second click on column: sort descendingly
  3. Third click on column: remove the sorting

Is there a way to hook the actual sorting behavior, i.e. write my own function in my code without touching the source code?

Contributor guide