on ‎2010 Nov 10 4:39 PM
Hello,
We are on MII 12.1.7 build 47. We upgraded from MII 11.5 to MII 12.1.
Whenever the iBrowser method setSelectedItem is invoked the method keeps running forever locking up entire MII portal and I have to go into task manager and kill the process.
Verified the NW logs but did not find any errors.
This never happened before with MII 11.5 it is happening only with MII 12.1
Has something changed in 12.1 like the syntax or the way of using this method or is it web browser dependent?
Any suggestions will be helpful!!
Regards,
Adarsh
Request clarification before answering.
Setting a selected Item programmatically didn't used to trigger the selection event. I have found that it now does sometimes. I think this is dependant on browser and/or Java version. This can cause infinite loops depending on your event logic.
Try something like the following:
document.MyGrid.setSelectionEventEnabled(false);
document.MyGrid.getGridObject().setSelectedRow(i);
document.MyGrid.getGridObject().setFirstVisibleRow(i);
document.MyGrid.setSelectionEventEnabled(true);
Regards,
Christian
Edited by: Christian Libich on Nov 10, 2010 6:33 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 3 | |
| 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.