gantt
gantt copied to clipboard
Minutes and seconds
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?
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.