• 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: [NSTableView setDrawsGrid:YES]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [NSTableView setDrawsGrid:YES]


  • Subject: Re: [NSTableView setDrawsGrid:YES]
  • From: David Blanton <email@hidden>
  • Date: Thu, 13 May 2004 12:42:58 -0600

IBOutlet NSTableView* m_killList;

[m_killList setDrawsGrid:YES];
[m_killList setNeedsDisplay:YES];


Hmmm, still no grid! I may have to switch to .NET/C# to get a table with
grid lines.

Come on Apple engineer, tell me why this does not work! I dare you!!




On 5/13/04 11:40 AM, "Chuck Soper" <email@hidden> wrote:

> There was (and may still be) a bug where setting the "Show Grid"
> option in IB has no effect. Sending setDrawsGrid:YES to a NSTableView
> in the awakeFromNib should work (it works for me). You might try
> sending needsDisplay to your table as well.
>
> Also, search http://cocoa.mamasam.com for "setDrawsGrid" for a
> discussion on the problem.
> Chuck
>
> At 10:45 AM -0600 5/13/04, David Blanton wrote:
>> I have set the "Show Grid" option in IB (10.2 or greater format) and sent
>> the message setDrawsGrid:YES to a NSTableView in the awakeFromNib but I get
>> no grid lines drawn.
>>
>> Is some other method required to draw something as simple as grid lines?
>>
>>
>> - (void)setDrawsGrid:(BOOL)flag
>>
>> Controls whether the receiver draws grid lines around cells. If flag is YES
>> it does; if flag is NO it doesn't. The default is YES.
>>
>> Is there a person smarter than me on this list who can explain to me, like I
>> am a five year old, how to get grid lines drawn in a NSTableView?
>>
>>
>> (Stupid or ignorant) and (obviously confused).
>>
>> DB
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • RE: [NSTableView setDrawsGrid:YES]
      • From: "Jonathan E. Jackel" <email@hidden>
References: 
 >Re: [NSTableView setDrawsGrid:YES] (From: Chuck Soper <email@hidden>)

  • Prev by Date: EUREKA !! [NSTableView setDrawsGrid:YES]
  • Next by Date: Re: Unsigned Long Long
  • Previous by thread: EUREKA !! [NSTableView setDrawsGrid:YES]
  • Next by thread: RE: [NSTableView setDrawsGrid:YES]
  • Index(es):
    • Date
    • Thread