Clear Selection
- Last UpdatedOct 10, 2025
- 1 minute read
The clearSelection property is used to trigger the Gantt Chart widget to close any opened details pane and clear Gantt Chart selection. Additionally, onSelectionChange event is triggered with the selectedData property set to null.
Example
control.findByXmlNode("Widget1").widgetProperties.clearSelection = JSON.stringify(Date.now());