Bindings help: Row-specific Null Placeholder in an NSTableColumn
Bindings help: Row-specific Null Placeholder in an NSTableColumn
- Subject: Bindings help: Row-specific Null Placeholder in an NSTableColumn
- From: Abhi Beckert <email@hidden>
- Date: Sat, 22 Jan 2005 15:05:00 +1000
Hi
In an app I'm thinking of writing I have a table view where each row
represents a file, and I'm going to have to open up the file and stuff
in order to work out what goes in the row (probably take about 2
seconds for each file). Obviously this is way too slow, so for the
rows that haven't been loaded yet I'm just going to display the name
of the file.
Idealy, when the file for a row hasn't been loaded yet, I'd like that
row to be displayed in grey rather than black.
I'd really like to use bindings to do this, and I'm hoping I can tie
it into the placeholder stuff. Or is it going to be simpler to use a
delegate? Is it even possible without huge effort? If it's too hard
I'll just leave it black.
Thanks in advance
- Abhi
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden