How to get all tasks wbscode


#1

how to get all tasks wbscode


#2

Hello,
You can iterate each task with the eachTask method and use the getWBSCode method to get its WBS code:
https://docs.dhtmlx.com/gantt/api__gantt_getwbscode.html
https://docs.dhtmlx.com/gantt/api__gantt_eachtask.html
Here is an example:
http://snippet.dhtmlx.com/5/dd0d19f5b

If you need something different, please, describe your question in more detail.