setMode method

Note: STABLE.
This API is reliable and breaking changes are unlikely.

qlik.navigation.setMode(mode)

Sets the current working mode of Qlik Sense.

Version history

Introduced 2.1

Parameters

mode

Type: String or constant

Set the mode. Can be one of the strings:

  • edit
  • analysis

or one of the constants:

  • qlik.navigation.EDIT
  • qlik.navigation.ANALYSIS

Returns

A navigation result object.

Example

var result = qlik.navigation.setMode( qlik.navigation.EDIT );
  alert( 'mode:' + result.mode );

Did this information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?