saade / filament-fullcalendar

The Most Popular JavaScript Calendar as a Filament Widget
MIT License
282 stars 85 forks source link

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

Closed vasiliyaltunin closed 4 months ago

vasiliyaltunin commented 8 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 4 months ago

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