Timeline groupMinHeight option.

Community Driven Extensions Project
Post Reply
Eiten
Posts: 8
Joined: 08 May 2015, 13:59

20 May 2015, 14:34

Hello,

I have issue with timeline option groupMinHeight. In documentation i found this option, but I con't use. I'm using extention 3.0.
Something changes an in extention version 3.0 there ino longer have this option?

Code: Select all

<poue:timeline id="timeline" value="#{linkedTimelinesController.model}" var="event" varGroup="group" animate="true" animateZoom="true" showCurrentTime="true" unselectable="true" 
                                       editable="true" eventMargin="10" eventMarginAxis="0"  showNavigation="true" groupsChangeable="true" groupsOnRight="false"  stackEvents="false"
                                       showMajorLabels="false" axisOnTop="true" widgetVar="=timelineWdgt" showButtonNew="true"
                                       min="#{linkedTimelinesController.min}" max="#{linkedTimelinesController.max}" zoomMin="#{linkedTimelinesController.zoomMin}"  zoomMax="#{linkedTimelinesController.zoomMax}">                       
                            <p:ajax event="add"  listener="#{linkedTimelinesController.onAdd}"   update="dlgAddReservation" oncomplete="PF('wdlgAddReservation').show()" />    
                            <p:ajax event="delete" listener="#{linkedTimelinesController.onDelete}"  update="timeline"/>                            
                            <p:ajax event="edit" listener="#{linkedTimelinesController.onEdit}" update="dlgReservation" oncomplete="PF('wdlgReservation').show()"/>                              
                            <p:ajax event="change"  listener="#{linkedTimelinesController.onChange}" update="timeline"/>                         
                                <f:facet name="group">  
                                    <h:outputText value="#{group.name}" style="font-weight:bold;"/>  
                                </f:facet>                            
                                <h:panelGrid columns="1">
                                    <h:outputText value="#{event.afected} #{event.topic}"/>
                                </h:panelGrid>  
                        </poue:timeline>  

User avatar
Oleg
Expert Member
Posts: 3805
Joined: 02 Oct 2009, 09:41
Location: Germany, Black Forest

21 May 2015, 17:29

Hi. Why can you not use it? It should work fine. At least in the last 3.1.0. I think, it was broken in the prev. release 3.0.0.

From the docu:
"The minimum height of each individual group even if they have no items. The group height is set as the greatest value between items height and the groupMinHeight. Default is 0."
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

Eiten
Posts: 8
Joined: 08 May 2015, 13:59

22 May 2015, 08:20

Hi,

So it a Attributes of timeline? and should I add this Attributes in:

<poue:timeline id="timeline" value="#{linkedTimelinesController.model}" var="event" varGroup="group"
groupsChangeable="false" groupsOnRight="false">
</poue:timeline>

like a new Attribute: groupMinHeight, but I can not choose it from the list. There is no it on the timeline Attribute list. Why, I do not know. Thesame is on 3.0.

Post Reply

Return to “Extensions”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 26 guests