Lattice Grid Buy a licence

htmx ยท console.warn

autoInitScheduler: no scheduler factory regi...

Printed by htmx, prefixed [lattice], since 1.97.0.

Warnings reference › htmx:scheduler-no-factory

Identifier
htmx:scheduler-no-factory
Raised by
htmx
Since
1.97.0

What happened

The htmx adapter does not inline the scheduler engine, so it needs a factory: one registered with registerScheduler(), or the script-tag global the scheduler module's UMD build publishes (globalThis.LatticeGridScheduler.createScheduler). Neither was present, so the table was left un-mounted.

The fix

Load the scheduler module and call registerScheduler(createScheduler), or load its UMD build as a <script> tag so globalThis.LatticeGridScheduler.createScheduler exists.

The smallest fix

import { registerScheduler } from '@toclocoinc/lattice-grid/modules/htmx';
import { createScheduler } from '@toclocoinc/lattice-grid/modules/scheduler';
registerScheduler(createScheduler);

Reference

Covered in full at the API reference.