saade / filament-fullcalendar

The Most Popular JavaScript Calendar as a Filament Widget
MIT License
295 stars 88 forks source link

Added functions to change cells content in month view: #161

Closed vasiliyaltunin closed 6 months ago

vasiliyaltunin commented 9 months ago

fetchCellsData - loads data for every cell of current month from model

getCellTemplate - loads template cells - each variable in template must be wrapped with {{ }} As

Later data and template used to generate new HTML and it replace innerHTML of created parent element.

In Example folder files with usega example

saade commented 6 months ago

You chan achieve the same using Render Hooks https://github.com/saade/filament-fullcalendar?tab=readme-ov-file#render-hooks