Can nested data-grid auto refresh

1
Hello, I have a data-grid that is nested in a dataview. I have set the data-grid to refresh but it doesn't. The auto refresh works fine for non-nested data grid. Therefore I wonder: Does the auto refresh work for nested data grid? If no, how do you solve it? Thanks Fredrik
asked
4 answers
2

Did you try to do a refresh on the dataview? It depends a bit on how complex your form is but as a general rule refreshing the main object does the trick.

Regards,

Ronald

[EDIT] You can only refresh the main object with a microflow. The assumption is that something on the page triggers the need for a refresh. The on change microflow there just retrieves the main object and does a refresh on that object. If something outside of the page is triggering the need for a refresh is gets more complicated. Then you need the microflow timer widget (https://appstore.home.mendix.com/link/app/27/Mendix/Microflow-Timer) to run the microflow that does the refresh.

(and offtopic, it is better to edit your question then to answer your own question.)

answered
1

Maybe I don't see the trees for the wood but how to do a refresh the DataView - I don't see that setting! The dataview just has a Entity as it's data source, passed by the calling page.

:) Fredrik

answered
1

Frederik

at what point do you expect to see the datagrid refresh ? I would normally assume after you use actions to change stuff inside the grid? like add new stuff or change existing objects? are there MF running on those actions that have their REFRESH in Client action set to off?

OR

do you expect the grid to creatively update when someone else changes something in the underlying records?

answered
0

Hello,

Thanks, good point of clarification.

It is the second alternative. When one user update the underlying records then I want the grid for all other users to update. The grid updates as expected fot the user that does the change (commit).

// :) Fredrik

answered