Multi column sorting, we use shift, but can we change other key, for example, ctrl???

Multi column sorting, we use shift, but can we change other key, for example, ctrl???

lilinlilin Posts: 1Questions: 0Answers: 0
edited June 2012 in DataTables 1.9
Multi column sorting, we use shift, but can we change other key, for example, ctrl???

Replies

  • snarf2larfsnarf2larf Posts: 64Questions: 0Answers: 0
    I don't think there is an option for this but you could search through the dataTables javascript file and replace the shiftKey binding with the key of your choice.
  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    This is the line that you want to edit as snarf2larf suggests: https://github.com/DataTables/DataTables/blob/master/media/js/jquery.dataTables.js#L4026

    Allan
This discussion has been closed.