Questions tagged [nstableviewcell]

120 questions
0
votes
0 answers

MPMediaPlayer-like framework in OSX environment

I am happy to be back to develop after quite time. So, I would like achieve an NSTableView with drag and drop capabilities. What I want to do is drag audio file (mp3, car, aiff and maybe waw) in a table and retrieve all information from files. Like…
sundsx
  • 588
  • 9
  • 27
0
votes
1 answer

How can I keep track of selected row of a button in a table view cell?

Similar to this, How can I keep track of the index path of a button in a table view cell? Do we have **any way we can select the row index of a **NSTableView**** when clicking on the button in the table cell.
Raghav
  • 625
  • 1
  • 12
  • 31
0
votes
1 answer

Accessing the NSTableHeaderCell of a NSTableViewHeader for customization

According to the NSTableHeaderView class reference, an NSTableHeaderView uses an NSTableHeaderCell class to implement its user interface. NSTableHeaderView uses NSTableHeaderCell to implement its user interface. NSTableHeaderView Class…
Sani
  • 1,283
  • 11
  • 30
0
votes
1 answer

Mac Objective C NSTableView and NSTextViewCell, know when user edits cell is done

Not sure why this is elusive, have looked at the docs. How to know when the user edits a NSTableViewCell in an NSTableView? Have setup the Text Filed Cell in IB Action to Sent On End Editing and hooked up the sent action, but no joy.... it does…
ort11
  • 3,359
  • 4
  • 36
  • 69
0
votes
1 answer

initWtihFrame: method for custom textfield not being called when created in a TableCellView

So I'm trying to create a custom NSTableView by subclassing NSTableCellView and a NSTextField inside of the cellview. I'm trying to write some init code in the initWithFrame: method for the NSTextField subclass (TableTextField), but it looks like…
Matt Cooper
  • 2,042
  • 27
  • 43
0
votes
1 answer

How to insert the value in selected cell only of nstableview

I am trying to insert value in a particular cell only, for example how to insert value in (2,3) 2nd row and 3rd column. i know how to insert value in a table but i don't know how to insert value in selected cell.
ADJ
  • 1,531
  • 1
  • 11
  • 15
0
votes
1 answer

NSPopOver on mouse hover

I need to display a popover when i place the cursor on a cell of the table view. On OS X app, what is the technique to show a NSPopover when the mouse is over a NSTableViewCell? Thanks
user2118335
  • 1
  • 1
  • 5
0
votes
1 answer

Cocoa: NSTableView DataSource doesn't set title

I am trying to set text value of cell: - (id)tableView:(NSTableView *)tableView objectValueForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row { if ([[[tableColumn headerCell] stringValue] isEqualToString:@"Title"]) { …
egor.zhdan
  • 4,555
  • 6
  • 39
  • 53
0
votes
1 answer

NStableView Cocoa

I populated my NStableView with tableView Controller and it's working fine. I only want to know why every time I am getting the data (Presented in table Cell) whenever the user hovers on a particular cell in a tableview, it starts displaying the…
york
  • 149
  • 1
  • 11
0
votes
1 answer

NSTableView view based 'Image & Text Table Cell View' not recognizing my custom NSImageView subclass

First i changed my NSTableView to view based and created an IBOutlet of my NSTableView. Then i dragged the Image & Text Table Cell View to it. After that i changed the NSImageView that's inside that cell view to my custom NSImageView subclass:…
Pedro Vieira
  • 3,330
  • 3
  • 41
  • 76
0
votes
3 answers

label color for selected row in NSTableview

I subclassed NSTableRowView in view-based NSTableView to change the selection color to a lighter blue instead of the default one. Unfortunately when I select the row the color of the labels and textfields inside my custom cell turns white and it's…
Jacopo
  • 1,031
  • 2
  • 12
  • 25
0
votes
1 answer

In-place editing of text in UITableViewCell in iOS 5?

I know this question has been answered before, the answer below looks pretty good. https://stackoverflow.com/a/4124023/1098059 However, most of the answers date from before iOS 5. With the new static tables in iOS 5 what is the best way to insert…
adamek
  • 2,324
  • 3
  • 24
  • 38
-2
votes
1 answer

NSView-based table view with auto layout grows, but does not shrink rows

I have a NSTableView in view-based mode (not cell-based) with usesAutomaticRowHeights=YES. The rows have dynamic height that might change at any time. This setup successfully grows table view rows (row content is never clipped), but table view rows…
-2
votes
1 answer

Why is my NSTableView displaying my data wrong?

My NSTableView seems to be mirroring all content which draws a String. I have never seen something like this before and hope somebody has a tip on how to solve this Problem. I already looked it up, but couldn't find anything. I also filed a bug…
seb.l95
  • 1
  • 1
-2
votes
1 answer

Create two rows in NSTableView in cocoa

I have a NSTableView with one column. As we know in cocoa, Table is column base. I want to create a login screen in cocoa with the help of table view in which there are two rows, one for username and another for password. I want to know how I use…
upender
  • 99
  • 1
  • 12
1 2 3 4 5 6 7
8