-
Notifications
You must be signed in to change notification settings - Fork 488
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug in rerender datatable #1796
Comments
+1 I have the same Issue with Angular 17 |
I am also facing this issue in Datatables v2. Anyone found any solution? |
@mjtemdark Have you tried the solution that you have mentioned. I am curious to know if it woks or not. |
I'm workarround in a solution and if you work with ajax function for reload data you don't really have to destroy the table, |
Facing same issue. I have huge application with 100 plus modules. So ajax solution is not feasible for me |
I found a temporary not fashioned solution for this, and update info for the bug. Presumably DT-2 "FREEZES" rows, prevent "tr" to be added without use internal rows API, I don't know how disable that, the bug persists when you destroy table. So I created a ng-template and insert manually using viewRefs and tbody id, https://stackblitz.com/edit/stackblitz-starters-ucgbjw. Check the rows update changing to UPPERCASE so It's not change detector related issue. |
Hello, It looks like DataTables v2 has changed how it renders the table and as such broken your setup (which worked with v1.x). Your approach of using I will keep the issue open for now but the bot will close it when this goes inactive. |
Still rerender not working in18.0.0
works fine at first initialize. When i call rerender table goes away.... when code enters to rerender function, at dtInstance.destroy(), table destroying... but in this.dtTrigger.next(this.dtOptions) is not coming back |
put dtOptions in ngOnInit and do not fill the dtTrigger with the value
|
🪲 bug report
rerender
of thedatatable
is not working in version17.0.1
🔬 Minimal Reproduction
StackBlitz/GitHub Link: Jesus-Rojas/project-datables@7f2a1a0
Step-by-step Instructions: Should be clicked in button
rerender,
it will update the list of categories.🎱 Expected behavior
Should show the list of categories inside of the
datatable
.📷 Screenshots
🌐 Your Environment
📝 Additional context
The text was updated successfully, but these errors were encountered: