svyBlockUI not executing unless a breakpoint is set

Forum to discuss the new web client version of Servoy.

svyBlockUI not executing unless a breakpoint is set

Postby skrizvi » Tue Jun 25, 2019 12:38 am

Hello all!

I am working with the svyBlockUI plugin for the ngclient and I am having a strange issue where my plugin only displays when a breakpoint is set before the call to svyBlockUI.show(). I am not sure what is causing this, I have tried removing and re-downloading the plugin through the package manager but that was not effective. Here is the code I am trying to use to generate the busy screen, this is in the try block of my code but I have tried moving it to outside the try block and it still didn't fire off. I am running Servoy 8.3.2.3207. Thank you in advance!

Code: Select all
        plugins.svyBlockUI.overlayColor = '#ffffff';       
        plugins.svyBlockUI.overlayOpacity = 0.5;
        plugins.svyBlockUI.spinner = "Chasing dots";
        plugins.svyBlockUI.spinnerBgColor = null;
        plugins.svyBlockUI.show('Generating Report ...');

skrizvi
 
Posts: 17
Joined: Wed Jun 12, 2019 10:13 pm

Re: svyBlockUI not executing unless a breakpoint is set

Postby rafig » Tue Jun 25, 2019 9:55 am

Not sure why it's not working for you, as I have it working with similar code (currently in 2019.3 release, but it did work in earlier release...
Code: Select all
   plugins.svyBlockUI.spinner = 'Folding cube';
   
   plugins.svyBlockUI.show('Searching, please wait ...');
   //   execute search
   search.loadRecords(scopes.he.he_formFoundset);
   
   plugins.svyBlockUI.stop();

Rafi
Servoy Certified Developer
Image
rafig
 
Posts: 704
Joined: Mon Dec 22, 2003 12:58 pm
Location: Watford, UK


Return to Servoy NGClient

Who is online

Users browsing this forum: No registered users and 6 guests