We can’t have the modal showing other customer information, even briefly. I wouldn’t think the modal would return all that data to the interface. Please advise.
A data table is loaded in a modal. Is the WHERE applied after the data is loaded?
No, where clause is passed to the server. And we apply it to DB request.
As for your problem, could you please tell me, which result you are trying to achieve? Unfortunately, I am not sure if I understand your problem correctly.
The use has 1 row and should only ever see 1 row. But as the data table loads, they are seeing 10 rows of data, exposing other users’ data to this user.
I’m trying to understand why this is happening as it is bad.
You can see as the modal opens the first time, there are many rows of data incorrectly being displayed. Once it finishes loading, there is only one. And every subsequent time I open the modal, there is only one row.