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.
Re-render of the table in Angular "ng" mode does not hide the content while destroying the table.
This results in the un-rendered table being shown briefly on re-render, potentially on any change of the underlying data. This looks ugly.
Expected behavior
I'm proposing an easy fix. Angular-datatables already have DTRendererService.showLoading() method, which could be used to hide the table content just before the datatable gets destroyed.
Minimal reproduction of the problem with instructions
I'm submitting a...
For AngularJS version.
Current behavior
Re-render of the table in Angular "ng" mode does not hide the content while destroying the table.
This results in the un-rendered table being shown briefly on re-render, potentially on any change of the underlying data. This looks ugly.
Expected behavior
I'm proposing an easy fix. Angular-datatables already have DTRendererService.showLoading() method, which could be used to hide the table content just before the datatable gets destroyed.
Minimal reproduction of the problem with instructions
It can be demonstrated on the Demo page - Changing data with the Angular way, just try to delete a row.
Actions
I will submit a pull request with my proposed fix shortly.
Environment
The text was updated successfully, but these errors were encountered: