Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lazy loading? moment.js settings probability? #42

Open
becory opened this issue Oct 27, 2021 · 5 comments
Open

lazy loading? moment.js settings probability? #42

becory opened this issue Oct 27, 2021 · 5 comments
Labels
question Further information is requested

Comments

@becory
Copy link

becory commented Oct 27, 2021

This project is awesome. I love it so much.
I have some problem when I using this.

  1. Does it have lazy loading support?
  2. How can we set the moment.js settings?
    (ex. setting localization or which day of the week in year for global setting in gantt)
@ANovokmet
Copy link
Owner

  1. What do you mean by lazy loading?
  2. Are those global moment settings? If so you could set them before initializing gantt. An example of the settings you are trying to set would help me since I don't know much about that.

@V-Py V-Py added the question Further information is requested label May 1, 2022
@V-Py
Copy link
Collaborator

V-Py commented Jun 4, 2022

Hey @becory, would you mind giving more infos or answer to the previous questions please 😄 ?
Currently to clean the issues so I can have a clearer picture of the points to handle.
Thanks

@becory
Copy link
Author

becory commented Jun 11, 2022

  1. lazy loading for request api data can split data, because data maybe to large it will load in a long time.
  2. moment.js is deprecated, could you plan to move like day.js or other js package?

@becory
Copy link
Author

becory commented Jun 11, 2022

moment.js customize https://momentjs.com/docs/#/customization/

@V-Py
Copy link
Collaborator

V-Py commented Jun 13, 2022

Hi, since the 4.0.0 version of svelte-gantt, there is no more momentjs dependency but there is however a momentjs adapter if you want to keep using moment to format your date.

About lazy loading, your use case would be initializing the Gantt with very large data hence leading to splitted data and/or long loading time ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants