Change the color of primefaces Scheduler Event

后端 未结 6 1553
温柔的废话
温柔的废话 2020-12-15 14:08

I am using primefaces(3.0) scheduler component.

http://www.primefaces.org/showcase-labs/ui/schedule.jsf

As we can see here there there are some events create

6条回答
  •  囚心锁ツ
    2020-12-15 14:30

    if you need, add style class and data in the same event.

    Example:

    String id="2";
    DefaultScheduleEvent evento = new DefaultScheduleEvent("titule", new Date(), new Date(), id);
    evento.setStyleClass("event-close");   
    

    In the CSS, Damian's response is good.

提交回复
热议问题