Questions tagged [nstableviewcell]

120 questions
0
votes
1 answer

Implementing context menu for NSTableCellView

I have a table view where I would like to have a different context menu appear when right-clicking on a cell vs. when right-clicking on an area where there are no cells. I'm trying to do this using storyboards in the interface builder. If I attach a…
act1292
  • 19
  • 6
0
votes
0 answers

NSTableView reducing width of included NSPopUpButton

I have a NSPopUpButton in a NSTableCellView in a NSTableView. I set the PopUp in IB to the full width of the Column. Running the app, the width of the popup is reduced by 30% on the right side, leaving space in the column and truncating the…
heimi
  • 499
  • 7
  • 16
0
votes
2 answers

Personalizing NSTableView in three ways

I'd like to use an NSTableView for displaying a list of disks to the user and I think it would be better to display them a bit differently than the normal NSTableView does. Here is an image as example: The features I'd like are these: Thicker rows…
Alex
  • 5,009
  • 3
  • 39
  • 73
0
votes
1 answer

Can I put a NSDatePicker object in a cell of NSTableView?

Right now I am just using a NSTextCell with a NSDateFormatter, I just wanted to know if this was possible, perhaps by using the . Thanks in advance!
0
votes
0 answers

How to fill the text color and set auto cell size like zoom chat for macOS

I have implemented custom NSTableCellView and made the layout like this image but the issue here is I have implemented full width NSTextField, How to make automatic tablecellview height based on the chat text size like in iOS we…
niravdesai21
  • 4,818
  • 3
  • 22
  • 33
0
votes
1 answer

How do i navigate to another view through a button in a NSTableCell?

I have got a Button in a custom table cell, with which I want to navigate to a view. But this view has to be different to the view you get if you simply press the TableCell. Has anybody solved this before?
0
votes
3 answers

get NSTableView cell values

I am new to OSX coding and coding a mac OS app. How can I access the text from rows that the user has selected. In this particular case, I am allowing users to select multiple rows to delete from the database in one go and is why I need to retrieve…
0
votes
0 answers

Can NSsliderCell work in "continuous" mode when inside a TableView?

Is it possible for a NSSliderCell to work in "continuous" mode when inside a cell-based NSTableView? I've searched here on S.O. and also googled the question without seeing anything directly relevant. In Interface Builder I have checked the…
bgdegazio
  • 19
  • 5
0
votes
1 answer

Filter a tableView leaves some data in a specific column

I have made my table view with column and everything works fine. just one thing that I have remarked is that when I filter rows, some data stay in a column that I have defined its cellFactory. Image showing the problem: code of the column: @FXML …
khalid tounoussi
  • 499
  • 5
  • 21
0
votes
0 answers

Memory Issues with View-Based NSTableView over Cell-Based

In my Cocoa project I have a button set up, that when pressed, expands the window frame downwards to reveal a Container View, that has a Table View inside. I load various data (images, texts, etc..) from computer to memory where it stays until app…
Vakho
  • 87
  • 7
0
votes
0 answers

Detect cells in NSTableView that become invisible after scrolling

I want to detect when cells in NSTableView become invisible when the user scrolls. In iOS, the UITableView has a delegate method with signature tableView:didEndDisplayingCell:forRowAtIndexPath, but I could not find anything simular in the delegate…
Ely
  • 8,259
  • 1
  • 54
  • 67
0
votes
1 answer

How can I determine if the mouse is over a specific view in NSTableView?

I have an NSTableView that is displaying different views for each cell. How can I determine that my mouse is over a specific view? I want to be able to hide/show certain UI pieces depending on the mouseover.
Sheehan Alam
  • 60,111
  • 124
  • 355
  • 556
0
votes
0 answers

Access on buttons in NSTableCellView

In my macOS XCode-project I addd a button to my Table Cell View which I want to access programmatically. When I connect the button to an IBOutlet or IBAction I get following error message when I try to build my…
0
votes
1 answer

NSTableView display Image in one cell

I might be asking very simple question, but i am not able to get how to get rid of this, the requirement is, Table should display image and some text next to that. To do that, i have added two columns in the table NSTableView should be…
Amitg2k12
  • 3,765
  • 10
  • 48
  • 97
0
votes
1 answer

Dynamically created columns in NSTableView are empty

I have an NSTableView connected to my CountViewController.h @property (nonatomic, weak) IBOutlet NSTableView * tableCountData; Under -(void)viewDidAppear I have code to remove all columns, except the first column, and re-create with new…
Kenneth P. Hough
  • 577
  • 2
  • 8
  • 25