Re: How to implement a spreadsheet?
Re: How to implement a spreadsheet?
- Subject: Re: How to implement a spreadsheet?
- From: Mike Davis <email@hidden>
- Date: Sat, 19 Jan 2002 15:32:47 -0500
On Saturday, January 19, 2002, at 11:59 AM, cocoa-dev-
email@hidden wrote:
Date: Sat, 19 Jan 2002 13:48:01 +0100
Subject: How to implement a spreadsheet?
From: Nicola Vitacolonna <email@hidden>
To: email@hidden
Just a simple question: would you use or subclass an NSTableView to
implement a spreadsheet? Otherwise, how would you do it as simple as
possible?
I wouldn't use NSTableView and would build a custom view which looked a
lot like it.
You see, for a spreadsheet I wouldn't even want to provide null data for
cells which have no relevance because of performance. As far as I'm
aware, spreadsheet data is usually held in a sparse array.
BTW, has someone noticed that,even if the "Show Grid" checkbox is
selected in IB, the NSTableView does not show a grid at all, at least
during execution?
Yeah...
Thanks in advance,
Nicola