Enables/disables the item at index idx. When it is disabled, it can't be selected and its action can't be invoked.
See Implementation
Enables/disables the item at index idx. When it is disabled, it can't be selected and its action can't be invoked.