Split Data
- Last UpdatedOct 10, 2025
- 1 minute read
This property is used to get the split property values from the Split widget. During the widget's initial load or any changes to its property values, either by moving the slider, entering split time in the input box, or setting the split direction, the splitData property is updated with the split information.
Example 1
The following is an example script to retrieve the splitData value in an On Click event of a control button.
var temp = control.findByXmlNode("Widget1").widgetProperties.splitData;
if(temp !=null && temp != "")
{
var data = JSON.parse(temp);
if(data != null)
{
var x = data.splitdt; // to access split date time
}
}
Example 2 | splitData JSON string
{
"splitdt":"1.01.2022, 02:03:04",
"splitdt_utc":"1.01.2022, 02:03:04",
"isLeftSplit":true, -- or false (true if split left)
"isRightSplit":false, -- or true (true if split right)
"event_startDate":"1.01.2022, 02:02:04",
"event_endDate":"1.01.2022, 02:05:04"
}