Having issues when i try to use datamanager and locales

Hi,

I'm trying to use gantt chart with 'tr' locale. Everything is working as expected when using dataSource property:

11.png


But when i try to use "data-manager" instead of dataSource property, i'm  encountering errors. (and there is no error when i try without locale.)



222.png

55.png


33.png


4.png


I'm using latest version. Can give more detail if needed. 

I will be glad if you help. Thanks in advance.


3 Replies 1 reply marked as answer

MS Monisha Sivanthilingam Syncfusion Team December 4, 2021 12:32 PM UTC

Hi Halit, 
  
Greetings from Syncfusion support. 
  
We were able to replicate the issue you reported. This issue occurs only when you apply the localization to the Gantt through the DOMContentLoaded event in the script section as you shared in your code. However, if you apply the locale property in the Gantt model definition itself, the localization is applied without any issues. The following code snippets demonstrate the solution. 
  
Index.cshtml 
  
<ejs-gantt id='RemoteData' 
           treeColumnIndex="0" 
           height="450px" 
           locale="de-DE"> 
  
  
  
  
Please share with us why you want to apply the localization through the DOMContentLoaded event. 
  
Regards, 
Monisha. 


Marked as answer

HA Halit December 6, 2021 06:45 AM UTC

Hi, indeed the problem was that. There is no particular reason. I was trying to get it working. Thank you very much for helping me out. Have a nice day.



MS Monisha Sivanthilingam Syncfusion Team December 6, 2021 11:53 AM UTC

Hi Halit, 
 
You are most welcome. 
 
We wish you a pleasant day as well. 
 
If you require any additional assistance, please contact us. 
 
Regards, 
Monisha. 


Loader.
Up arrow icon