Hi there,
I've encountered a problem with the timeline group height logic, which also appears in the showcase example "Style customization and i18n support" and additionally my application.
To replicate issue: If you zoom in so that the top 2 have no events but the bottom four do, the events on the bottom four lines will become dis-aligned with the group row they are meant to be on. Seems the javascript doesn't take into account a minimal height for a group row when there are no events in view.
Additionally, (can't be shown on the showcase as it always loads in view) if you load the timeline when timeline events are a few days in the past but your looking at now +5 for example, the label for the group appears in the top title row. If you have a lot of groups without events, all the labels appear in a pile on the first row of the timeline.
Any suggestions how i can get around this?
Thanks
Timeline group height when group has no events in view
-
- Posts: 27
- Joined: 11 Nov 2013, 09:38
- Location: Duisburg, Germany
Hi there,
i am having the same problem and hoped that someone answers on this subject.
The timeline is one of the most important widgtes in one of our planning tools,
so that we are at the moment not able to move to primefaces extensions 2.0 (primefaces 5) !
Hope that my reply will put some new light on the problem !
Best regards
i am having the same problem and hoped that someone answers on this subject.
The timeline is one of the most important widgtes in one of our planning tools,
so that we are at the moment not able to move to primefaces extensions 2.0 (primefaces 5) !
Hope that my reply will put some new light on the problem !
Best regards
Stephan Wenders
Primefaces 6.2.x
Wildfly 15
JSF 2.3
JDK 8
Solaris 11, Windows 10
Primefaces 6.2.x
Wildfly 15
JSF 2.3
JDK 8
Solaris 11, Windows 10
It's a 'problem' in the original timeline javascript that is used in PrimeFaces Extensions. Check out http://almende.github.io/chap-links-lib ... obile.html and zoom... bottom row will 'collapse' to if you zoom enough. So please file an issue there
-
- Posts: 27
- Joined: 11 Nov 2013, 09:38
- Location: Duisburg, Germany
I filed the issue and got the following answer:
In the successor of this library, vis.js, this issue has been solved.
In the successor of this library, vis.js, this issue has been solved.
Stephan Wenders
Primefaces 6.2.x
Wildfly 15
JSF 2.3
JDK 8
Solaris 11, Windows 10
Primefaces 6.2.x
Wildfly 15
JSF 2.3
JDK 8
Solaris 11, Windows 10
Yes, that's right. But the successor vis.js doesn't have all features yet which we currently use. I suggest to wait a little bit. In the meantime you can limit zooming as here http://www.primefaces.org/showcase-ext/ ... tRange.jsf Simple try it.I filed the issue and got the following answer:
In the successor of this library, vis.js, this issue has been solved.
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin
-
- Posts: 27
- Joined: 11 Nov 2013, 09:38
- Location: Duisburg, Germany
Tranks for your advice, i think i have to wait for the next release. In my case it is not a problem of zooming, but of moving the timeline to a range where one or more groups don't have an event.
Stephan Wenders
Primefaces 6.2.x
Wildfly 15
JSF 2.3
JDK 8
Solaris 11, Windows 10
Primefaces 6.2.x
Wildfly 15
JSF 2.3
JDK 8
Solaris 11, Windows 10
Yes, I'm aware of this issue. I will observe vis.js time to time. We will also have a PRO support soon.
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin
-
- Information
-
Who is online
Users browsing this forum: No registered users and 23 guests