Search
ListContainer.deselectItem Method
See Also
 






Deselects an item.

Namespace: MindFusion.Common.UI
File: ListContainer.js

 Syntax

JavaScript  Copy Code

function deselectItem (item)

 Parameters

item

ListItem. The item to deselect.

 Example

The following sample checks if any items are selected in a ToolStrip and then deselcts the first one.

JavaScript  Copy Code

toolstrip.selectItem(button);

if(toolstrip.selection.items().count() > 0)
    toolstrip.deselectItem(toolstrip.selection.items()[0]);

 See Also