Site Map | About Us | Contact Us  
 The same content in Microsoft HTML help file format is included in the download package.

setDisabledĀ MethodĀ 

Sets the value indicating whether the item is in disabled state.

[JavaScript]
NavigationItem.setDisabled(disabled)

Parameters

disabled
true to disable the item, otherwise false.

Remarks

Use this function to disable or enable an item. The following logic applies to the disabled item:

  1. A disabled item always uses DisabledStyle;
  2. A disabled menu item does not responde mouse or keyboard event;

Disabling an expanded menu item automatically collapses its sub menu.

See Also

NavigationItem Object


Direct link to this topic