PDA

View Full Version : B1 - Clipping issue on customer list WebOrderMobile sample



Samuel Pizarro
12-Jan-2019, 11:17 AM
Beta 1.

I observed a format issue on value column on 'Customer Query / Orders by Customer' Expandable list (WebOrderMobile), using default theme.

The bigger values are not properly shown.

12495

Regards

Sture
12-Jan-2019, 04:29 PM
And you can't change it by adjusting the width in the source code?

-Sture

Samuel Pizarro
12-Jan-2019, 05:43 PM
For sure. But why a value that is right justified get cut on right side?
shouldn’t it be cut on left money sign in this case?

Sture
12-Jan-2019, 06:23 PM
I don't know about that. Ideally it should somehow indicate that the value is clipped. But how to implement that?

But the width should be adjusted upwards so that 2-letter (and 3) can also be displayed correctly.

-Sture

Harm Wibier
23-Jan-2019, 09:20 AM
I'll make the field a little bigger.

I've also extended the cWebColumn with a new peWordbreak option. It is called wbEllipsis and it will make it not wrap (same a wbNone) and it will show three dots when the value is being clipped.

The fact that it clips on the right and not on the left is default browser behavior.

Sture
23-Jan-2019, 09:55 AM
Oh! Best of two worlds.

-Sture

Samuel Pizarro
23-Jan-2019, 10:55 AM
Thanks Harm.

Indeed the best solution!