DHTMLX Docs & Samples Explorer

onTab Event

This event occurs during tabulation in grid, blockable.

          grid.attachEvent("onTab", function(mode){
                    //any custom logic here
          });

Parameter:

  • mode - {bool} direction of tabulation (true for straight tab, false for backward tab).

The event can be used to implement custom tab order. Code can select any other cell in grid and return false to prevent default logic.