Hi again,
I had found this:
http://examples.qcodo.com/examples/other_controls/polling.php
Wich will solve the problem of refreshing every 5 minutes.
But I have another issue. There is something to make a QOnPageLoadEvent ?... just to trigger some event, when the page finishes the rendering.
In an usefull example. I will do a Query... wich i know that will take a lot!!!... no solution for that, then render all the page content (with out the data of the datagrid)... and when everything is rendered... trigger to Refresh the QDataGrid via Ajax.
What do you think?