Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
4
Erster Beitrag:
vor 4 Jahren, 3 Monaten
Letzter Beitrag:
vor 4 Jahren, 3 Monaten
Beteiligte Autoren:
Piet van Zanten, Danny Lauwers

[WB18] Loopers problems

Startbeitrag von Danny Lauwers am 27.09.2013 11:46

Hi,

I am using a looper to display some data. It has 1 Column, Is in Ajax mode and has several fields and attributes.

I would like the number of rows to fill the area.
The looper is in a TAB control and I have put it in a HTML Table Cell.

But it does not size correctly, is there any method to dynamically adjust the looper # rows to fit the height of the browser when the user resizes the Browser window ??

I tried # of rows 0, and everything is displayed, but then I have a very long page

Any Idea's

Thanks
Danny

Antworten:

Hi Danny,

You can contain the looper (#rows=0) in a cell and set the overflow of the cell to vertical scrollbar.

Regards,
Piet

von Piet van Zanten - am 27.09.2013 19:41
Hi Piet,

Thanks this did the trick ! I now have the scollbars available.

One thing is odd, when I show the page with the looper without the scroll cell, the looper was displayed very fast.

Now, it takes seconds that you see nothing and then everything inside the cell?

Any Idea ?

Is it posible to display a "loading" graphic while the looper is builing ??

Thanks
Danny

von Danny Lauwers - am 30.09.2013 07:05
Hi Danny,

Do you mean that the page is loaded and that the looper is filled after that?
In my experience Webdev sends the whole page at once to the browser, but I could be wrong, that's just a feeling.
I can't think of a way to display a progress indicator if I'm right about loading the page at once.

Are you comparing the speed with in both cases rows set to 0?
Obviously, if not, the looper limited to a few lines will display much faster if the unlimited looper has a lot of records displayed.

Regards,
Piet

von Piet van Zanten - am 30.09.2013 09:56
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.