PC Review


Reply
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average.

ListView with lots of columns

 
 
Markus Eßmayr
Guest
Posts: n/a
 
      29th Sep 2008
Hello,

in my current project, the created application should be able to display a
table with a column per deay of a year.
At first I used a ListView and added 365 columns.
Basically this works but as the column with is 150 pixels wide, the
resulting "row width" is 54750 pixels. This cannot be displayed by the
ListView especially the header.
The problem is, that the ListView internally resizes the child SysHeader32
control to the complete row width.
And because the maximum window width in Windows is 32767, thats the source
of my problem.

So please ... do you know any control, which is able to display a table as
wide as I need?

Thanks very much in advance!!!
Max


 
Reply With Quote
 
 
 
 
Jeff Johnson
Guest
Posts: n/a
 
      29th Sep 2008
"Markus Eßmayr" <essmayr/at/racon-linz.at> wrote in message
news:%(E-Mail Removed)...

> So please ... do you know any control, which is able to display a table as
> wide as I need?


Look at grids.


 
Reply With Quote
 
 
 
 
Norman Yuan
Guest
Posts: n/a
 
      29th Sep 2008
Even if the ListView is capable of displaying 365 columns (or other control,
for that matter), you have to consider if the design is practical: how wide
the computer screen it needs to display that many columns so that the
content can be viewable by human eyes, or does the business requires that
user MUST see entire row of information simaltaneously (I'd quit the job if
my employer ask to do this as my daily work)?

It is most likely that no matter what control you use, the user will have to
scroll the window horizontally significantly to see whole row. So, to make
your app a bit user-friendly, you should think it differently, such as
"Column paging", that is, consider to divide the data monthly or qurterly,
so you display 30/90 columns a screen. with proper navagation design, you
will allow user easily horizontally move to next month/quarter or any given
period.


"Markus Eßmayr" <essmayr/at/racon-linz.at> wrote in message
news:%(E-Mail Removed)...
> Hello,
>
> in my current project, the created application should be able to display a
> table with a column per deay of a year.
> At first I used a ListView and added 365 columns.
> Basically this works but as the column with is 150 pixels wide, the
> resulting "row width" is 54750 pixels. This cannot be displayed by the
> ListView especially the header.
> The problem is, that the ListView internally resizes the child SysHeader32
> control to the complete row width.
> And because the maximum window width in Windows is 32767, thats the source
> of my problem.
>
> So please ... do you know any control, which is able to display a table as
> wide as I need?
>
> Thanks very much in advance!!!
> Max
>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lots and lots of white space in Add and Remove Programs =?Utf-8?B?YnJvb2tfbWFu?= Windows XP General 5 27th Oct 2004 11:03 PM
Lots of Frustration - Lots of Arrays, Dynamic Ranges Don't Work, Help With Options Karl Burrows Microsoft Excel Programming 3 17th Apr 2004 12:48 PM
Lots of Frustration - Lots of Arrays, Dynamic Ranges Don't Work, Help With Options Karl Burrows Microsoft Excel Discussion 6 17th Apr 2004 12:48 PM
Lots and lots of viruses Travis King Windows XP General 18 8th Feb 2004 07:58 PM
IE tries to load lots & lots of pages Dave Windows XP Internet Explorer 1 14th Aug 2003 02:42 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:02 PM.