Scrollbars and Headers

Hello,

Maybe this is a LAF issue, but when I enable vertical scrollbars in a list view, I am expecting them to start at the beginning of the body, not the header. Please see the attached screenshot.

Purely from a UI standpoint I would prefer the top bar to stretch all the way across. I can certainly remove the top bar from the list view form and place it outside the tabpanel, but I was hoping to avoid that.

Anyway, not the most pressing issue ever, but just wondering if there’s anything I can do.

No, that’s the default behaviour right now, and your point is a wish I filed a long time ago.

Please file a feature request in the Support solution. more votes → the sooner it is implemented ( I hope ;-) )

I just submitted a ticket with Servoy support.

Hi Sean

Just wondering, how did you get the sort order triangle? Did you program it manually? Would be very nice to have it automatically, but up to now it just appeared by accident and very rarely.

Best regards, Robert

chartpacs:
Hello,

Maybe this is a LAF issue, but when I enable vertical scrollbars in a list view, I am expecting them to start at the beginning of the body, not the header. Please see the attached screenshot.

Purely from a UI standpoint I would prefer the top bar to stretch all the way across. I can certainly remove the top bar from the list view form and place it outside the tabpanel, but I was hoping to avoid that.

Anyway, not the most pressing issue ever, but just wondering if there’s anything I can do.

Hi Sean

You can get the desired result if you make a form (record view) with two tabless panels above each other. Height of the upper is as your header size is, height of the lower is as your body size. Then make a form for the upper tabless panel, i. e. the header in record view and a form with dataprovider (Patient Name, DOB (age)) in it for the lower tabless panel in table or list view.

Hope this helps, Robert

chartpacs:
Hello,

Maybe this is a LAF issue, but when I enable vertical scrollbars in a list view, I am expecting them to start at the beginning of the body, not the header. Please see the attached screenshot.

Purely from a UI standpoint I would prefer the top bar to stretch all the way across. I can certainly remove the top bar from the list view form and place it outside the tabpanel, but I was hoping to avoid that.

Anyway, not the most pressing issue ever, but just wondering if there’s anything I can do.

Hi Robert,

Just wondering, how did you get the sort order triangle? Did you program it manually? Would be very nice to have it automatically, but up to now it just appeared by accident and very rarely.

I program all column sorting manually. I use a modified version of a technique described in a very good Servoy Magazine article:
http://www.servoymagazine.com/home/2005 … 005_1.html

One nice thing about the technique is that, in my screenshot above, when clicking on the patient name header, two columns actually get sorted (last name, first name). Perhaps you can do the same thing automatically, by sorting on a calculated column. Anyway, if you have any questions about implementing this technique in your own solutions, just send me a private message.

Thanks for the workaround for my GUI problem. I guess another workaround would be simply to remove the header and place it on the main form, but then if you need to reuse the list view on another form, you’d have to copy the header over.

Doesn’t it seem strange to you that this is the default behavior for scrollbars?

Hi Sean

chartpacs:
Hi Robert,

I program all column sorting manually. I use a modified version of a technique described in a very good Servoy Magazine article:
http://www.servoymagazine.com/home/2005 … 005_1.html

One nice thing about the technique is that, in my screenshot above, when clicking on the patient name header, two columns actually get sorted (last name, first name). Perhaps you can do the same thing automatically, by sorting on a calculated column. Anyway, if you have any questions about implementing this technique in your own solutions, just send me a private message.

As I did all the manual column sort programming already once (although in another IDE, but I think it costs in Servoy about the same amount of time), I use table view where it’s free but one does not get the triangles and still hope at some point the triangles are just displayed (it’s already somewhere in the background, see post and my picture http://forum.servoy.com/viewtopic.php?t=1413

chartpacs:
Thanks for the workaround for my GUI problem. I guess another workaround would be simply to remove the header and place it on the main form, but then if you need to reuse the list view on another form, you’d have to copy the header over.

Doesn’t it seem strange to you that this is the default behavior for scrollbars?

I agree, it seems strange and I don’t know the reason for it if there is any.

Best regards, Robert

Hi Robert,

I use table view where it’s free but one does not get the triangles and still hope at some point the triangles are just displayed

Another reason why I chose to do custom sort headers is cross-platform consistency. Like your waypoint app, I prefer to make my solutions look like Mac apps, even on Windows (and Linux), and having custom sort headers gives me more control over the look and feel.

It didn’t take me too long to refine the logic of the sort headers, so making additional ones doesn’t involve too much effort. I like how it looks, too :wink:

Hi Sean

chartpacs:
Hi Robert,

I use table view where it’s free but one does not get the triangles and still hope at some point the triangles are just displayed

Another reason why I chose to do custom sort headers is cross-platform consistency. Like your waypoint app, I prefer to make my solutions look like Mac apps, even on Windows (and Linux), and having custom sort headers gives me more control over the look and feel.

It didn’t take me too long to refine the logic of the sort headers, so making additional ones doesn’t involve too much effort. I like how it looks, too :wink:

I see it as you do, I use iTunes as basis (reference) for my apps, as I think it contains many very interesting concepts. As it’s also very accepted in the windows would, it’s not a too bad basis, I think.

I would like to come back to your solution of the sorting triangles, at the moment I conequently use table view to minimize the development effort and maximize the functionality. And I still hope that we get triangles once in table view, as I still think it’s somewhere there in the background (as my picture shows). So I hope …

Best regards, Robert