Book a Demo

Author Topic: EnableUIUpdates = false; not working in javascript  (Read 3051 times)

pca

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
EnableUIUpdates = false; not working in javascript
« on: June 13, 2012, 06:28:06 pm »
In EA 9.1.910 (Unicode), I use EnableUIUpdates as follows:

Quote
function main()
{
   Repository.EnableUIUpdates = false
   doStuff()
   Repository.RefreshModelView(0)
}
main();

Unfortunately, the UI keeps getting updated, slowing down significantly processing in doStuff().  

Is there anything I can do differently ?