Saving and reloading custom fields that were created at runtime

If you create a custom field using the Column Menu at runtime, how can you save the data and all the fields so that when you load the json file containing the data and the model, the custom fields are recreated and populated?

Thanks.




3 Replies

JD Jayakumar Duraisamy Syncfusion Team January 29, 2018 11:53 AM UTC

Hi Derrick, 
In Gantt, there is a limitation while adding a field/column at runtime using column menu with data from the JSON file, it is not possible to retain the updated data or the fields which were added at runtime, since on a page load the data from the JSON file will be redefined and the data saved at runtime will be lost. Therefore we recommend you to define the data in the SQL database to retain the updated data. 
Please let us know, if you require any other assistance on this. 
  
Regards, 
Jayakumar D 



DE Dee January 29, 2018 05:19 PM UTC

Thanks, Jayakumar.


JD Jayakumar Duraisamy Syncfusion Team January 30, 2018 04:01 AM UTC

Hi Derrick, 
You’re welcome. 
Regards, 
Jayakumar D 


Loader.
Up arrow icon