Re: Requesting help with setting up editable table, please.
Re: Requesting help with setting up editable table, please.
- Subject: Re: Requesting help with setting up editable table, please.
- From: Brian Christmas <email@hidden>
- Date: Tue, 17 Feb 2015 14:24:39 +1100
Thanks Shane, no wonder I could not get your chapter 4 directions to work.
Regards
Santa.
On 17 Feb 2015, at 2:11 pm, Shane Stanley <email@hidden> wrote:
> On 17 Feb 2015, at 1:42 pm, Brian Christmas <email@hidden> wrote:
>>
>> ‘Table Cell View’
>
> That means it's a view-based table, not a cell-based table. All the examples in my book are cell-based tables, and they work a bit differently. View-based tables are relatively recent, and cell-based tables are being deprecated in their favor, although cell-based tables are likely to be be around for quite some time.
>
> In view-based tables, the table cell view is a specialized view that contains (at least) a text field. By default, this text field has a Behavior of None; you need to change that to Editable, and resize it to suit the view. (This text field also has a title, and therefore contents, of "Table View Cell", which IMO confuses things a bit.)
>
>> the table column is bound to an array
>
> Binding also need to be done differently with view-based tables -- you bind to the table, not columns.
>
> You have two choices:
>
> * Look in the documentation for "Populating a Table View Using Cocoa Bindings" and read about how to do it with view-based tables.
>
> * Revert to cell-based tables. That means deleting the table cell views in interface builder -- you will see that there is also cell in each column as well -- and changing the Content Mode of the table to Cell Based.
>
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden