My Problem with a Form with around 2000 Elements, is a longer rendering-time in the Webclient, then in the Smartclient. I try to inform the Users during this 8-16 Seconds to prevent them clicking nervous around…
The Busy-Plugin maid be a possibility, but I see also the “Loading…” indicator on the top right corner during rendering an new page could be exactly what I need.
But strange, in my Form:
- In case of the a buttons onAction() the ‘Loading…’ is shown
- In case of the a Combobox onDataChange() the ‘Loading…’ is NOT shown
Both (Button/Combobox) triggers the same routine witch just create and show this 2000 Elements.
This is a Youtube demonstration : http://youtu.be/13gM2Kg4I2g
Any Ideas why it does’nt show “Load…” in case of the Combobox ?
Hi ,
I have to filter and load some data upon selection of an item from combo box and it is taking some time in web client*, but there is no “loading…” shown. It is getting difficult to know if any process is going on or not, but when the same method is triggered from button click “loading…” is shown.
Is there a way to show the “loading…” while doing something form onDataChange?
- Why it take longer time to load data in web client than in smart client?
Thanks in advance
@ all
No ideas about missing “loading…” when fired from onDataChange ?
@ sovanm
maybe this will give you any sugestions about the “loading time and webclient”:
https://www.servoy.com/forum/viewtopic.php?f=34&t=19219
many things are not showing the loading…
Thats most of the time only when a user really clicks on something, not when data is changed, because then they would see it constantly.
So we try to show only loading when a user really expect it to see, like a button click or tab change that kind of stuff.
Ok, I see. But a datachange in a combobox also could lead to a loading.
Otherwise the user must handle two actions: select the desired range
and then click the “go” button. Do I have a possibility to force the
“load” indicator ?
no for this situation you can’t forge this, this is controlled in servoy code
jcompagner:
no for this situation you can’t forge this, this is controlled in servoy code
Johan answered NO to a Servoy question? This is unheard of! ![Smile :)]()
Technically, yes, you can do whatever you want. Using the WebClientUtils plugin you could execute your own client side code to show the Loading… It would go something like this…
var js = '$("#indicator").show();'
plugins.WebClientUtils.executeClientSideJS(js)
Servoy has a hidden DIV on the page that has Loading… on it, and it just hides and shows it, so you can manually do this yourself with WebClientUtils plugin. Just remember to hide it when processing is done. You might also need to use $(“#indicator”).css(“visibility”,“visible”); instead, you’ll have to check.
PS. More customizations here: viewtopic.php?f=12&t=19554