DataTables logo DataTables

via Ad Packs
navigation with PgDown,PgUp,Home,End
  • Is this possible? or only with keys combination?
  • 1 Comment sorted by
  • very quick solution (in keyTable.min.js - _fnKey() function)
    case 34: /* page down arrow */
    	I = c;
    	O = (a < H - 10) ? (a + 10) : (a + (H-1-a));
    	break;
    case 33: /* page up arrow */
    	I = c;
    	O = (a > 10) ? (a - 10) : 0;
    	break;
    case 36: /* home arrow */
    	if (a > 0 ) {
    	I = c;
    	O = 0;} else {return false;}break;
    case 35: /* end arrow */
    	if (a < H - 1) {
    	I = c;
    	O = a + H - 1;} else {return false;}break;

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Support

Get useful and friendly help straight from the source.

In this Discussion