Mel Smith wrote on 22 dec 2011 in comp.lang.javascript
:
> Evertjan said:
>
>>
>> To view 7 fields on a line is not an easy way to view a record.
>> HTML gives much easier viewable ways of formatting a record.
>>
>> Why not give the viewer choices of diaplay?
>>
>>> and a few search
>>> fields and sorting methods based on Denis McMahon's Javascript
>>> methods for sorting.
>>
>> "it works perfectly"?
>>
>> Your Q shows it does not.
>>
>> A list of 613 lines can better, IMHO, be devided in smaaler groups,
>> by first letter or by adress or by age, according to the wishes of
>> the viewer. Serverside SQL search is perfect for the job.
>>
>>> So, when a user wishes to got to the bottom (or top) of the table
>>> (based on 1 of 4 different sorting columns/methods),
>>> a quick slide of the scroll bar is easy.
>>
>> Only in certain browsers perhaps, as your Q shows.
>
> *Certain Browsers * ???
>
> I've tested my table on Safari (for PC's), Chrome, FireFox, Opera,
> IE 7
> and 9. All have scroll bars.
>
> I have an iPad 2, and it is the only one of my tested group that
> does
> not have scroll bars (altho I would assume that other mobile devices
> may not have the scroll bars either).
But your Q shows you are not happy with only "Safari (for PC's), Chrome,
FireFox, Opera, IE 7 and 9"
So you should listen to yourslef, arguing that some important browsers do
not apply.
>> But why should a user want to go to the top or the bottom,
>> there are much more informative ways to show a selection.
>>
>>> But, with no Scroll bar, you can wear out your finger *and*
>>> patience !
>>
>> Quite, that is also an argument not to use scrolling lists of such
>> length, there are better ways to show a selection.
>>
>
> *of such length* ?!?
>
> You may (or may not) be interested in taking a look at the first
> page of
> my www.frostdelay.com site. THe table on the 1st page has in excess of
> *5000* lines and approx 5 columns. This is what I could call
> 'lengthy'.
I think that you do not give your users optimal posssibilties.
> The current table I'm working on has 613 rows - a pipsqueak by
> comparison. Both of these tables are managed from my CGI server
> (which is a C-based executable with a complete and extensive database
> backend (see www.whosaway.com) )
Any serverside coding can deliver subsets via SQL.
> Anyway, thanks for the response. My users are very happy with my
> tables
> (thanks to the help from Denis McMahon).
I do not understand why the help of Denis McMahon makes your users happy.
The fact that your users are happy can also mean that they are easily
happy, because they do not know html and coding can give much better
readability and subset query selection than the terrible excel-like
layout you probably give them.
It is the task of the programmer [you!?] to make use of the best
possiblities display and selection technique offers, as imho, that is not
doubling Excel with lists od 613 rows, even though this is just the exact
number of commandmants in Jewish law.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)