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

Minutes and seconds #16

Open
ivan-osipov opened this issue Dec 17, 2014 · 1 comment
Open

Minutes and seconds #16

ivan-osipov opened this issue Dec 17, 2014 · 1 comment
Labels

Comments

@ivan-osipov
Copy link

This issue was closed, but we are interested to use gantt with seconds and minutes. How we can extend your addon? Which classes we have to change and add?

@tltv
Copy link
Owner

tltv commented Jan 6, 2015

You would have to add that functionality in TimelineWidget. It's not disigned to be easily extendable, but you can easily replace the whole widget with a custom one by using GWT's Deferred Binding rule.
If you add a new resolutions in Resolution enum, then you might need to change other classes too to support new resolutions.

Basically adding Minutes and seconds is simple, just replace the current Hour resolution bar with minutes or seconds. Spots where Resolution enum is touched, is the place you need to change/add code.

If you want to have new bars for minutes and seconds in addition to hours, then notice that there will be soon performace issue with a long timeline. DOM structure will easily grow too big.

@tltv tltv added the question label Sep 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants