This repository was archived by the owner on Feb 2, 2025. It is now read-only.
How can I use the $ .fn.dataTable.ext.errMode function #1601
-
My table works correctly in all functions but when a user loses privileges to the data temporarily or the server sends a 403 response, the alert appears on the screen of the ajax error! That response from the server is already handled but the table sends an alert. reading the DataTablet documentation I found that it is removed with the function $ .fn.dataTable.ext.errMode: 'none'. what I don't know is how to do it here |
Beta Was this translation helpful? Give feedback.
Answered by
shanmukhateja
Oct 3, 2021
Replies: 1 comment 1 reply
-
Hi, You add that line in |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
zero-53
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
You add that line in
ngOnInit
of your table component. Just paste the line as-is and you should be good.