• 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: Donald Brown <email@hidden>
  • Date: Mon, 02 Sep 2002 18:17:25 -0500

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
>>
>> --__--__--
> _______________________________________________
> 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.

--
Donald Brown
email@hidden
http://www.eamontales.com

We have met the enemy and he is us - Pogo
_______________________________________________
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.

References: 
 >Re: NSTableView : what about "footer" ? (From: jean Bousquet <email@hidden>)

  • Prev by Date: Re: NSTableView : what about "footer" ?
  • Next by Date: Re: cString deprecated!
  • Previous by thread: Re: NSTableView : what about "footer" ?
  • Next by thread: Re: NSTableView : what about "footer" ?
  • Index(es):
    • Date
    • Thread