AllenFang/react-bootstrap-table

Change the sorting behavior

Open

#220 ouverte le 19 janv. 2016

Voir sur GitHub
 (8 commentaires) (2 réactions) (0 assignés)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?

Guide contributeur