[英]set <p:tooltip> to Models of <p:schedule> primefaces
Is there any way to set tooltip
component to eatch model in schedule
? 有什么办法可以将tooltip
组件设置为schedule
模型?
I search something like this: 我搜索如下内容:
<p:schedule id="idCanlandrier" view="agendaWeek" slotMinutes="30"
axisFormat="H:mm" firstHour="8" minTime="7:00" maxTime="20:00"
value="#{myBean.model}" ignoreTimezone="false">
<p:tooltip for="modelID" value="value"/>
</p:schedule>
Thank you. 谢谢。
At Primefaces 6.0 edition you can set tooltip attribute to p:schedule component to show a description. 在Primefaces 6.0版本中,您可以将tooltip属性设置为p:schedule组件以显示描述。
<p:schedule tooltip="true">
Don't forget to set the description to the event in your list. 不要忘记为列表中的事件设置描述 。
e = new DefaultScheduleEvent();
e.setDescription("<p:inputText value="Title: " + obj.title + "/>");
I hope it will helpful. 希望对您有所帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.