Re: NSTableView : what about "footer" ?
Re: NSTableView : what about "footer" ?
- Subject: Re: NSTableView : what about "footer" ?
- From: jean Bousquet <email@hidden>
- Date: Mon, 02 Sep 2002 22:04:07 +0200
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.