Does the TaskId need to be a string representation of an integer?

Hi all, 

Relatively simple data structure, that is only one level deep i.e. one parent -> many children.

I am reading the datasource in from an external location (DB/API) and performing some data transformation so that I can use if for the Gantt control.

My structure is pretty easy:

{
      "ActivityId": "ABC-123",
      "Predecessor": "ABC-1FS",
      "ActivityName": "Hello",
      "StartDate": "2019-04-22T07:00:00",
      "EndDate": "2019-04-26T17:00:00",
      "Children": [
        {
          "ActivityId": "ABC-1234",
          "PredecessorActivityId": "ABC-1233FS",
          "ActivityName": "World",
          "StartDate": "2019-04-22T07:00:00",
          "EndDate": "2019-04-23T17:00:00",
          "Children": []
        }
      ]
    }

My Gantt is rendering but there are no dependency lines being shown (the data model is fine).

Does TaskId work if it is not an integer? 



3 Replies 1 reply marked as answer

PP Pooja Priya Krishna Moorthy Syncfusion Team November 17, 2020 07:27 AM UTC

Hi Sean, 

Currently we don’t have support to define task Id as string. We have logged a feature for this. 
As we have already lined up some major features, we could not implement this support immediately. We will implement this and include it in any of our upcoming releases. Please cast your vote on this feature. Based on the customer demand we will prioritize the features in our upcoming road map. 

Regards, 
Pooja K. 


Marked as answer

SM Sean McDonnell November 17, 2020 09:04 AM UTC

Thank you for providing a clear answer very quickly, I have voted for the feature.


KR Karthikeyan Raja Syncfusion Team November 18, 2020 06:43 AM UTC

Hi Sean,


Thanks for the update. We will update further details regarding the feature in the feedback link.  Please
track the status of it.


Regards,
Karthikeyan Raja
 


Loader.
Up arrow icon