Page 1 of 1

Refresh or refetch IxModel

PostPosted: Wed Dec 28, 2016 1:16 am
by jimmytaker
The following scenario - the DB is changed by other means. How can I make a model just refresh its contents with the exact same SELECT it executed the first time, just to get the changes from the DB? Would be beneficial if it can update its nested models as well, but if it is not automatic, I hope to still be able to use the same approach on calling it on a nested model.
I want to be able to create a Refresh button and connect it to a slot.
Thx!