HI
i am using NetAdvantage for JSF Vol1 2008. CAN I USE these
ig:gridClientEvents in my version or if not how should i get the events direct in javascripti want to call a js function after ajaxResponseCompletedThanks in advance
Well, you could set up a timeout loop to watch for the page completion, but it might be easier to add some text telling the user to click on the first cell. Is this an editable grid?
Thanks jim
i had tried this two. but after loading the page grid takes some time to get loaded. so even if the focus is set onload it is going bcoz the grid refreshed and loaded only after some time.
Hi:
there are two techniques that generally work fo rhtis case.
1. Set focus in a function called from the body tag's "onLoad" event.
2. Place an inline script at the bottom of the page. typically this will execute after the grid has been rendered.
Hope this helps!
Jim
Thanks roshan
Actually my requirement is i want to set the focus to the first header cell of the grid.
in a4j i am having oncomplete where i can have the js call after backend operation. but here there
is nothing like that. i am refreshing the grid using ig:link
Hello Vijayada:
The gridClientEvents introduced in the version 9.1 and so this feature is not available with version 8.1. Please describe your requirment how you want to use JS call back for ajaxResponseCompleted.. How you are using ajaxResponseCompleted?
Roshan