MaxLevel (NotesViewNavigator - JavaScript™)
Read-Write. The navigator's maximum level of navigation.
Defined in
NotesViewNavigatorSyntax
getMaxLevel() : int
setMaxLevel(mLevel:int) : void
Legal value
- 0 minimum (top level)
- 30 maximum (default)
Usage
The maximum cannot be less than the minimum implied by the navigator type, for example, category, children, or descendants.Examples
ThisbeforePageLoad
event
creates a view navigator and limits the levels to 8.var nav1:NotesViewNavigator = database.getView("By category and date").createViewNav();
nav1.setMaxLevel(8);