my problem is the following I have a view of a table that shows all the records using a foreach, the problem is that since I have more than 1000 records the view when loading shows all the records and when it finishes loading the datatable shows 10 initially but this is left.
the navigation bar stays as if it is showing all records
When I open a modal of "Edit" and close it, the view is fixed.
How do I fix this error?