<< Click to Display Table of Contents >> TOC : Script API > JavaScript > JavaScript API > Component > Multiplex > GanttChart > GanttChartBarValue > Method >GetComponentByName |
Gets the component of the given name.
Prototype :
object GetComponentByName
(
string ComponentName
)
Arguments :
ComponentName |
Component Name |
Example :
var objComp = This.GetComponentByName("Gantt Chart Value1");
if(objComp != null) {
_TraceLn(objComp.GetName());
}
Available Events :
OnBind, OnInitialize, OnStartBind