I have PrimeFaces 8 with LazyScheduleModel. Can I refresh the current week view, without the schedule to go back to the current date? Refresh in this component is working, but after refresh, it always goes to the current date, and does not keep the current view.
You need to assign a widget var, and use PF('scheduleWidgetVarName').update(). This will update the schedule and keep the current view.
See: https://primefaces.github.io/primefaces/jsdocs/classes/src_primefaces.primefaces.widget.schedule-1.html#update
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With