on 05-25-2011 10:00 AM
Hi,
I have a SAP mXII applet OrderList.
When the applet refresh is completed by calling document.OrderList.refresh();
I want to update a UI parameter.
Can you please tell which event is fired when the refresh completes.
Or suggest a way to achieve it?
Thanks,
Arti
Hi Manoj,
Yes, I am refreshing only the grid, not the complete page.
The usecase is like, the user selects something from a dropdown and clicks a Button Search.
On click of the button, the query parameters are set in the template and Applet.refresh() is called to update the values on grid.
But the time it takes to update the grid with the newly retrieved values is clearly observed even
after the associated event completes, resulting in the parameter to be set long before it is required to.
Hope this clears your doubt.
Thanks,
Arti
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Some additional information, there are other methods that differ from the refresh() method for updating a grid (and other applet types):
update<appletType>(true): reruns the query, also updates any changes to the grid, chart, etc. applet's display elements
update<appletType(false): only updates changes made to the applet's display elements
refresh(): updates both query and display changes, but with an important difference - if the query is time-based (for example, a tag query), this method will updated the start and end dates of the query based on the current time, less the duration/duration units.
Kind Regards,
Diana Hoppe
Hi,
Thanks for the response.
Update event is in place.
Just that even after the update event completes, data is not rendered on screen.
there is a time difference between the update event completion and screen updating.
and it is more prevalent in IE 7.
My usecase wants the parameter to be updated only after screen is rendered.
Thanks,
Arti
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Arti,
I will suggest following solution
Please write your function on update event. when you refresh your grid update event is called.
<PARAM NAME="UpdateEvent" VALUE="Test">
Test will be your function in which you can fetch value for your UI field from grid.
Hope this helps!!!!
Regards,
manoj Bilthare
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.