pivot focus
The focus on the pivot screen can be set with the showFocus property of the setDisplayOpyions() function.
Set pivot focus
You can display focus with the DisplayOptions.showFocus (opens in a new tab) property and move it with the keyboard. You can display guidelines on which rows and columns to focus on. You can enable focus through the setDisplayOptions() function as follows:
pivot.setDisplayOptions({showFocus:true, showFocusGuide:true});
pivot.drawView();
Pivot Focus Event
When focus moves, the onCurrentChanged (opens in a new tab) callback occurs.
pivot.onCurrentChanged = function (pivot, index) {
console.log(index);
}