![]() ![]() Returns array with ids of all resources in the project. Returns array with ids of all tasks in the project. The table below lists all functions used to retrieve data about all Resources or Tasks: Function Retreive information about it using functions listed and described above. Once you have an id of a task or a resource - you can You can retrieve array that contain all ids of Tasks or Resources in the project. To get the value of the custom attribute from the object you just need to add the dot and the name of the attributeįor example, you have the task with the custom attributes defined as follows:Īgain, this applies to task, resource and period object in the same way, all samples in this tutorialĬontain the code to get custom attributes from the objects. Retrieve the data about the task, period or resource you can access these attributes using attributes field. Task, Resource and Periods can have custom attributes that contain any additional information about them, when you ![]() This sample shows how to get information about the selected period. This sample shows how to get information about the selected resource. This sample shows how to get information about the period by its index. Get Period Information By Its Index Sample This sample shows how to get information about the period. We will describe the parts of this sample in details. This sample shows how to get information about the resource. Name of the resource to which the period belongs. Period object that is returned by the functions listed above has the following structure: Field Name Object that contains resource custom attributes. Resource object that is returned by the functions listed above has the following structure: Field Name Returns period data by the given period id. GetPeriodInfoAt(resourceID:String,index:int):Obj Returns resource data by the given resource id. The table below lists all functions used to retrieve data about Resource and Periods: Function Resource and Period Information Functions This sample shows how to get information about the child task of the given task. This sample shows how to get information about the selected task. Launch the sample or take a look at it closer: ![]() We will describe the parts of this sample in details.įirst of all, the chart should be embedded into the page using AnyGantt.js: Object that contains task custom attributes. Task level (when hierarchy is set using level mode). Task object that is returned by the functions listed above has the following structure: Field Name GetTaskChild(taskID:String, index:int):Obj The table below lists all functions used to retrieve data about Tasks: Function You can retrieve information about any chart element using the functions described in this tutorial, you can also change this date using modify functions (See Changing Chart Elements from JavaScript to learn more about that). Get All Tasks or Resources in XML format. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |