Action 1 Data, Action 2 Data, Action 3 Data
- Last UpdatedOct 10, 2025
- 1 minute read
These properties are used to handle the associated data to a corresponding On Action event when it's triggered in the Gantt Chart's details pane. For information on the action events, see Gantt Chart widget events.
Example
The following script retrieves the action 1 data and uses the ID element of a selected object.
var temp = control.findByXmlNode("Widget1").widgetProperties.action1Data;
if(temp !=null && temp != "")
{
try
{
var ganttData = JSON.parse(temp);
var id = ganttData.id ; // retrieve the id element of selected object
}
catch(ex)
{
}
}