You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 2, 2025. It is now read-only.
Instead of relying on an event (like catching the event event:dataTableLoaded), it's better to use a service that provides the list of the DataTables that are instanciated.
This feature implies:
the creation of the service that will provide an array of DT instances along with the directive instance
the removal of the event event:dataTableLoaded
the clumsy API dtOptions.reload() will be moved to the directive instance. Indeed, reloading data should not be on the options of the DT. It should rather be within the method of the instance of the directive.
open opportunities to add new APIs directly to the directive instance
The text was updated successfully, but these errors were encountered:
Instead of relying on an event (like catching the event
event:dataTableLoaded
), it's better to use a service that provides the list of the DataTables that are instanciated.This feature implies:
event:dataTableLoaded
dtOptions.reload()
will be moved to the directive instance. Indeed, reloading data should not be on the options of the DT. It should rather be within the method of the instance of the directive.The text was updated successfully, but these errors were encountered: