Table not updating when model queried

I have a button on a table to “Query Model”. When pushed all the data is wiped out from view. The table shows the message “No Inventory Positions to Display” where inventory positions is the name of the object.

If I hit the refresh button in the browser the data will come back.

Any thoughts as to why this is happening?

I have solved the issue. There was an abandonRow() action event attached to the model. I honestly can’t remember adding this so I am not sure how it go there. 

Basically, when I would attach any action event to this model it would trigger the abandonRow() and my table would wipe out. I could not see any of this in the page builder. Only when I looked at the console and the XML did I realize what was going on.

Hopefully this will help someone out!

I’m glad you were able to figure this out! Thanks for posting with an update.