0

Filling listbox completely, not on demand.

asked 2009-07-07 07:37:33 +0800

kkurt gravatar image kkurt
300 1 2

updated 2009-07-07 07:49:49 +0800

Hi;
I have a listbox binded to list. I want to fill (not live) it completeley but not full height, only height 300px.
When i use height="300px" scrollbar appears but fills on demand.
How can i fill listbox completely with fixed height?

delete flag offensive retag edit

4 Replies

Sort by ยป oldest newest

answered 2009-07-08 04:42:31 +0800

iantsai gravatar image iantsai
2755 1

But what if the items are too many that can't fit 300px height?

link publish delete flag offensive edit

answered 2009-07-08 06:30:46 +0800

kkurt gravatar image kkurt
300 1 2

...than i want to use scrollbar.
Why do i need this? Because IE6 has worst performance, it could not fill listbox healty, when i want to use nearly 2000 row, while scrolling sometimes it stucks...

link publish delete flag offensive edit

answered 2009-07-08 08:24:12 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16
http://www.oxitec.de/

updated 2009-07-08 08:27:54 +0800

take a borderlayout around the listbox.

<borderlayout id="blayout_branchList">
  <center autoscroll="true">
    <div>

       <listbox id="listBoxBranch" height="100%" width="99.5%" 
                mold="paging" pagingPosition="top" pageSize="40"
                multiple="false">
         <listheader 
          ...

regards
Stephan

link publish delete flag offensive edit

answered 2009-07-08 10:28:16 +0800

kkurt gravatar image kkurt
300 1 2

Ok, thanks.

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2009-07-07 07:37:33 +0800

Seen: 296 times

Last updated: Jul 08 '09

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More