Table of Contents
- Getting Started
- EO.Pdf
- EO.Web
- EO.WebBrowser
- EO.Wpf
- Common Topics
- Reference
- .NET API Reference
- JavaScript API Reference
- EO.Web
- EO.Web
- Objects
- AJAXPostedFile Object
- AJAXUploader Object
- Calendar Object
- Callback Object
- ColorPicker Object
- ComboBox Object
- Control Object
- Dialog Object
- Downloader Object
- EditableLabel Object
- Editor Object
- EventInfo Object
- FileExplorer Object
- FileExplorerHolder Object
- Floater Object
- Grid Object
- GridCell Object
- GridColumn Object
- GridItem Object
- ImageZoom Object
- ListBox Object
- ListBoxItem Object
- MaskedEdit Object
- MaskedEditSegment Object
- MenuItem Object
- MultiPage Object
- NavigationItem Object
- NavigationItemGroup Object
- Navigator Object
- NavigatorEventInfo Object
- ProgressBar Object
- RangeSlider Object
- Rating Object
- ScriptEvent Object
- Slide Object
- Slider Object
- SliderBase Object
- SpellChecker Object
- Splitter Object
- SplitterPane Object
- ToolBar Object
- ToolBarItem Object
- ToolTip Object
- TreeNode Object
- TreeView Object
- Global Functions
- Event Handlers
- EO.WebEngine
- EO.Web
setSelectedNode Method |
Sets or clear the selected node in a TreeView.
Syntax
JavaScript
TreeView.setSelectedNode(node, add)
Parameters
- node
- The node to be selected.
- add
- Whether to add selection. Use true to add a selected node without clearing existing selections. Use false to clear existing selections. This parameter is only used when the TreeView's AllowMultiSelect is set to true.
Remarks
Call this function without any parameter to clear the existing selection.
See Also