Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
7
Erster Beitrag:
vor 6 Jahren, 7 Monaten
Letzter Beitrag:
vor 4 Jahren, 10 Monaten
Beteiligte Autoren:
John A, Piet van Zanten, Geoff B, Peter H.

WB16: Last line in table not visible

Startbeitrag von Piet van Zanten am 07.06.2011 09:17

Hi,

I'm making my first steps in the world of Webdev. :cool:
Unfortunately I'm facing something that could be a nasty bug.
I'm using several Ajax tables, linked to a query, display only, no edit, no selection.
The tables are Ajax enabled because I like the vertical scrollbar.
None of the tables display the last line of the table content :confused:
In some cases there's a very small top part of the last line visible, but no further scrolling possible. (tested in IE8, Firefox 4, Safari and Chrome)
The tables are on different tabs on the same page.
Has anyone got the same or similar problems?

Regards,
Piet

Antworten:

Hi Piet,

I've encountered this as well when moving to WB16 but never got a satisfying solution...

Greetz,

P.

von Peter H. - am 07.06.2011 10:18
Hi Peter,

I have kinda solved it by increasing the margin between the bottom of the table and its container. I also noticed that the positioning of controls is not rock solid, so it seems wise to leave some extra margins here and there and not design "on the edge".
Having done quite some manual html design, I can appreciate how hard it is to make a sophisticated tool like Webdev work.

Regards,
Piet

von Piet van Zanten - am 07.06.2011 12:57

Re: WB16: Last line in table not visible - SOLUTION

It turns out a similar problem still occurs with WB17.

IE8 will often not allow a user to select the last line of a Table when it is configured with the "Unlimited Number of Lines" option Enabled.

I have discovered this is due to the way IE fails to correctly render a horizontal scroll bar when one is required.

I suspect IE merges the horizontal scroll bar into the last row of the table which in turn traps the user's mouse clicks.

There work-arounds to fix this are:
1. ensure the right hand column is well inside the right table boarder so IE doesn't even try and render a horizontal scroll bar.
2. or turn off the Automatic Horizontal Scroll Bar and set to "Yes" so the bar is always visible. IE does render the scrollbar correctly in this case.
3. or set the Horizontal Scroll Bar option to "No" so IE never tries to render it.

FWIW my tests show this bug only affects IE so far. Opera and Chrome worked perfectly when the setting is "Automatic".

Regards

John

von John A - am 25.03.2013 13:27
Can you post a link to an example table where this happens?

von Geoff B - am 25.03.2013 22:29
Hello Geoff

Unfortunately I don't have an externally facing website that I can load an example onto for you.

However I have make a quick Screencast video that:
1). demonstrates the IE bug happening.
2). explains what to change in WB to avoid it

http://goo.gl/DQdkA

Regards
John

von John A - am 26.03.2013 10:05
I was going to have a look at it with FireBug and see if the css could be tweaked to display the last line, since it sounds like a formatting rather than a data retrieval error.

Liked your video though, explains the problem and solution very well!

Never knew a French accent sounded like that :-)

von Geoff B - am 27.03.2013 06:54
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.