Project

General

Profile

Feature #6970

tablesorter: default fuer 'sortReset' aendern von 'Ctrl' zu 'Alt'

Added by Carsten Rose almost 2 years ago. Updated 8 months ago.

Status:
Some day maybe
Priority:
Normal
Assignee:
Target version:
Start date:
11.10.2018
Due date:
% Done:

0%

Estimated time:
Discuss:

Description

  • Auf Mac Keyboards entspricht 'ctrl-click' einem 'right mouse click'. Damit koennen sie die Sort nicht loeschen.
  • Bitte test ob: 'sortResetKey: altKey' auf dem Mac das Problem loest.
  • Bitte den Default in QFQ anpassen

History

#1 Updated by Benjamin Baer almost 2 years ago

Auf seiten auf denen das Ding geladen wird:

<script type="text/javascript">
$(function() {

  // call the tablesorter plugin
  $(".tablesorter").tablesorter({
    sortResetKey: 'altKey'
  });

});
</script>

#2 Updated by Benjamin Baer almost 2 years ago

Auf seiten auf denen das Ding geladen wird:

<script type="text/javascript">
$(function() {

  // call the tablesorter plugin
  $("table").tablesorter({
    sortResetKey: "altKey" 
  });

});
</script>

Bisschen rumprobiert auf webwork16/my > admin aber nichts scheint zu funktionieren.

#3 Updated by Benjamin Baer almost 2 years ago

<table class="tablesorter" data-tablesorter-config='{"theme":"bootstrap","widthFixed":true,"headerTemplate":"{content} {icon}","dateFormat":"ddmmyyyy", "sortResetKey":"altKey" }'>
  <thead><tr><th>Nummer</th><th>Buchstaben</th><th>Random</th>
    </tr>
  </thead>
    <tbody>
      <tr><td>1</td><td>A</td><td>23dd2</td></tr>
      <tr><td>2</td><td>B</td><td>4tdsd2</td></tr>
      <tr><td>3</td><td>C</td><td>642ef3</td></tr>
      <tr><td>4</td><td>D</td><td>566d233</td></tr>
    </tbody>
</table>

Auch so funktioniert es nicht (Chrome, Linux)

#4 Updated by Carsten Rose almost 2 years ago

  • Target version set to 18.12.1

#5 Updated by Carsten Rose almost 2 years ago

  • Target version changed from 18.12.1 to 141

#6 Updated by Carsten Rose 9 months ago

  • Status changed from New to Some day maybe

#7 Updated by Carsten Rose 9 months ago

  • Status changed from Some day maybe to New

#8 Updated by Benjamin Baer 9 months ago

  • Status changed from New to Some day maybe

#9 Updated by Carsten Rose 8 months ago

  • Target version changed from 141 to next3

Also available in: Atom PDF