FROM : Ivan C Myrvold
DATE : Tue Mar 11 22:04:55 2008
I have worked with NSTableView code for more than 6 years, but I am
sure I have not learned everything there is to learn.
Yes, I know there usually is 1 shared cell in NSTableColumn. You are
wrong in stating that there can not be more than a shared cell in an
NSTableColumn.
I am using binding., and 1 shared dataCell in the table column.
Ivan
Den 11. mars. 2008 kl. 16:21 skrev Mike Abdullah:
> I suspect here that you need to learn a little more about how
> NSTableView works. There is NOT one cell per row, so call -setState:
> basically does nothing. instead, NSTableView creates copies of the
> cell, sets the properties, and uses that to draw.
>
> How are you supplying data to the table - data source or bindings?
>
> Mike.
>
> On 11 Mar 2008, at 14:58, Ivan C Myrvold wrote:
>
>> It doesn't matter if I do the
>>
>> [myCheckBox setState:NSMixedState];
>>
>> the result is the same, the checkbox is shown as checked.
>>
>> If I however use the same code (or even click all the three states)
>> in an ordinary check box (not cell), everything works as I expect
>> it to do.
>>
>> This makes me suspect this to be a bug.
>>
>> Ivan
>>
>> Den 11. mars. 2008 kl. 14:42 skrev Stephane Sudre:
>>
>>>
>>> On Mar 11, 2008, at 13:15, Ivan C Myrvold wrote:
>>>
>>>> I can not get my check boxes in an NSTableColumn to show the
>>>> mixed state.
>>>> The first time I click an empty check box, it shows as if it is
>>>> checked, it should have been mixed.
>>>
>>> A mixed state can not be determined by a click.
>>>
>>> What a click should do:
>>>
>>> Unchecked -> Checked
>>>
>>> Mixed -> Checked
>>>
>>> Checked -> Unchecked
>>>
>>>
>>
>> _______________________________________________
>>
>> Cocoa-dev mailing list (<email_removed>)
>>
>> Please do not post admin requests or moderator comments to the list.
>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>>
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>>
>> This email sent to <email_removed>
>
>
DATE : Tue Mar 11 22:04:55 2008
I have worked with NSTableView code for more than 6 years, but I am
sure I have not learned everything there is to learn.
Yes, I know there usually is 1 shared cell in NSTableColumn. You are
wrong in stating that there can not be more than a shared cell in an
NSTableColumn.
I am using binding., and 1 shared dataCell in the table column.
Ivan
Den 11. mars. 2008 kl. 16:21 skrev Mike Abdullah:
> I suspect here that you need to learn a little more about how
> NSTableView works. There is NOT one cell per row, so call -setState:
> basically does nothing. instead, NSTableView creates copies of the
> cell, sets the properties, and uses that to draw.
>
> How are you supplying data to the table - data source or bindings?
>
> Mike.
>
> On 11 Mar 2008, at 14:58, Ivan C Myrvold wrote:
>
>> It doesn't matter if I do the
>>
>> [myCheckBox setState:NSMixedState];
>>
>> the result is the same, the checkbox is shown as checked.
>>
>> If I however use the same code (or even click all the three states)
>> in an ordinary check box (not cell), everything works as I expect
>> it to do.
>>
>> This makes me suspect this to be a bug.
>>
>> Ivan
>>
>> Den 11. mars. 2008 kl. 14:42 skrev Stephane Sudre:
>>
>>>
>>> On Mar 11, 2008, at 13:15, Ivan C Myrvold wrote:
>>>
>>>> I can not get my check boxes in an NSTableColumn to show the
>>>> mixed state.
>>>> The first time I click an empty check box, it shows as if it is
>>>> checked, it should have been mixed.
>>>
>>> A mixed state can not be determined by a click.
>>>
>>> What a click should do:
>>>
>>> Unchecked -> Checked
>>>
>>> Mixed -> Checked
>>>
>>> Checked -> Unchecked
>>>
>>>
>>
>> _______________________________________________
>>
>> Cocoa-dev mailing list (<email_removed>)
>>
>> Please do not post admin requests or moderator comments to the list.
>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>>
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>>
>> This email sent to <email_removed>
>
>
| Related mails | Author | Date |
|---|---|---|
| Ivan C Myrvold | Mar 11, 13:15 | |
| Stephane Sudre | Mar 11, 14:42 | |
| Ivan C Myrvold | Mar 11, 15:58 | |
| stephane | Mar 11, 16:12 | |
| Mike Abdullah | Mar 11, 16:21 | |
| jonathan@mugginsof… | Mar 11, 16:22 | |
| Ivan C Myrvold | Mar 11, 22:04 |






Cocoa mail archive

