• 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: Need help, trying to populate a plain Table
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need help, trying to populate a plain Table


  • Subject: Re: Need help, trying to populate a plain Table
  • From: Brian Christmas <email@hidden>
  • Date: Tue, 19 Aug 2014 10:08:45 +1000

G'day Shane

The trouble with using an array controller is that the data is not presented in the order that it's entered into the controller, it's sorted by the first columns sort order.

Even tho I've turned off re-ordering, my data is presented in the table in alphabetical order.

If I'm to use an array controller, then I need to display my data in the exact order that it's entered into the controller. On other words, turn OFF column sorting. Do you know how to do this please?

Regards

Santa


On 19/08/2014, at 9:47 AM, Shane Stanley <email@hidden> wrote:

On 19 Aug 2014, at 9:35 am, Brian Christmas <email@hidden> wrote:

> I've got a table that has to contain a fixed set of data, so I can't use an Array Controller.

You realise that statement makes absolutely no sense? How is an array controller to know whether your data will change or not?

> Anyone know if I'm on the right track

You're not. If you want to use a datasource rather than bindings, you have to implement several methods. You don't call tableView_setObjectValue_forTableColumn_row_ et al; the table does.

And as for whacking it all in a Finder tell block...

--
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


  • Follow-Ups:
    • Re: Need help, trying to populate a plain Table
      • From: Shane Stanley <email@hidden>
References: 
 >Need help, trying to populate a plain Table (From: Brian Christmas <email@hidden>)
 >Re: Need help, trying to populate a plain Table (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Need help, trying to populate a plain Table
  • Next by Date: Re: Need help, trying to populate a plain Table
  • Previous by thread: Re: Need help, trying to populate a plain Table
  • Next by thread: Re: Need help, trying to populate a plain Table
  • Index(es):
    • Date
    • Thread