• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSTableView : what about "footer" ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView : what about "footer" ?


  • Subject: Re: NSTableView : what about "footer" ?
  • From: jean Bousquet <email@hidden>
  • Date: Tue, 03 Sep 2002 22:11:05 +0200

Thank Donald
There is a problem when the table has an horizontal scroll bar. This
horizontal scroll bar would be displayed just above the footer, users would
be surprised : usually horizontal scroll bar should be under the footer.

To synchronize the columns resizing of the table with this one of the footer
seems a bit tricky. I suppose we have to use a delegate for the above table.
This delegate should resize the column footer when the above column in the
table is being resized. Or is there a simpler way ?
Same problem when user is reordering the columns.
doesn't seem very attractive but I don't see any other way for the moment
except Apple adding footer in NSTableView. It would be the right and clean
solution.

> Subject: Re: NSTableView : what about "footer" ?
> From: Donald Brown <email@hidden>
> To: jean Bousquet <email@hidden>, Cocoa dev
> <email@hidden>
>
> There's no way for a single table to do that, but why not put a second table
> below the main table? Sync it with any scrolling or with resizing, no
> headers obviously, and it should look like you want.
>
> Donald
>
> on 9/2/02 3:04 PM, jean Bousquet at email@hidden wrote:
>
>> Thanks Hasan,
>> I tried to prevent the footer not to vertical scroll in order it would
>> always appear on the screen (like the header). Following this way, I didn't
>> find any mean to prevent the last row to vertical scroll.
>> Jean
>>
>>> From: Hasan Diwan <email@hidden>
>>> To: <email@hidden>
>>>
>>> Jean:
>>> You can make the last row your footer as a special case, e.g:
>>> - (BOOL)tableView:(NSTableView *)aTableView shouldSelectRow:(NSTableView
>>> *)aTableView shouldSelectRow:(int)rowIndex {
>>> if (shouldSelectRow == ([aTableView numberOfRows] - 1)) {
>>> return NO;
>>> } else { return YES; }
>>> On 2/9/02 9:04 AM, "jean Bousquet" <email@hidden> wrote:
>>>
>>>> Apple's NSTableView has very nice features but seems to lack for one which
>>>> is probably important for all of those who are dealing with columns of
>>>> numbers. In such a case it is often necessary to display (for example) the
>>>> total of the numbers of the column at its foot. It is a example, one could
>>>> display some thing else at the foot of the column. This foot line (may we
>>>> call it a footer ?) acts exactly like the header (no vertical scrolling but
>>>> horizontal scrolling) but appears at the bottom of the column instead of
>>>> the
>>>> top.
>>>>
>>>> Does any body know if there is a simple way to add "footer" to NSTableView
>>>> ?
>>>>
>>>> If some body from Apple is listening, could we suggest to plan adding
>>>> NSTableView the capability of a "footer" which in fact is so very similar
>>>> to
>>>> the header already available ?
>>>> With Mac OSX Apple is willing to address business software and companies.
>>>> This feature could be very useful in the development of this type of soft.
>>>
>>> --
>>> Hasan Diwan
>>> OpenPGP KeyID: BE42DCA6
>>> OpenPGP Fingerprint: 1CB0 47E3 0A24 DAC1 DCCA 4225 F166 40C2 BE42 DCA6
>>>
>>> -- __--__--

Jean Bousquet
COGILOG
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: NSTableView : what about "footer" ?
      • From: Ondra Cada <email@hidden>
  • Prev by Date: Re: cString deprecated!
  • Next by Date: Re: TM character blows array out of water
  • Previous by thread: Re: NSTableView : what about "footer" ?
  • Next by thread: Re: NSTableView : what about "footer" ?
  • Index(es):
    • Date
    • Thread