nstableview Questions

6

Solved

I've developed an app for Mac OS X Lion using its new view-based NSTableView, but as I want to port the whole app to Snow Leopard I'm trying to figure out the best way to emulate such a tableview. ...

4

Solved

I'm not sure what I'm doing wrong. Since I couldn't find any other questions (or even documentation) about this, it seems do be normally working without problems for other people. I'm simply tryin...
Sanjuana asked 2/2, 2015 at 15:27

5

Solved

I am trying to implement an action to scroll to the top of a NSTableView, and the bottom of the NSTableView. I am using scrollRowToVisible but I'd love the action to be animated. Is there a way to ...
Vermilion asked 28/10, 2011 at 4:24

10

Solved

I was just wondering if there was an easy way to set an NSTableView to allow it to reorder its rows without writing any pasteboard code. I only need it to be able to do this internally, within one ...
Baseless asked 23/1, 2010 at 3:5

2

I want to auto resize table column to its content width when double clicking its header (resize cursor is showing), like on iTunes. Anyone know how to do it ? Thanks in advance
Wurtz asked 3/3, 2010 at 4:45

6

Solved

I'm looking for a way to get right-clicked row index from NSTableView but I can't find any delegate methods or class attributes for it. Any suggestion is appreciated.
Friable asked 19/9, 2012 at 12:13

1

Solved

Looking for some advice trying to use Table on macOS using SwiftUI. Table was introduced in macOS 12, and I'm trying my darnedest to not step down into AppKit or replicate any existing functionalit...
Tilney asked 17/11, 2021 at 3:57

6

Solved

I have a NSTableView , i want to get the value present in the cell. I am having only one column so , i just need the row number i can use this [tableView selectedRow]- but where do i put this i w...
Herrin asked 29/5, 2012 at 9:49

5

Solved

I have a small problem with NSTableView. When I am increasing height of a row in table, the text in it is aligned at top of row but I want to align it vertically centered! Can anyone suggest me a...
Unearth asked 20/1, 2010 at 16:42

6

I have a NSTableView that is bound to a NSArrayController. The NSArrayController's contentSet property is bound to a NSMutableSet. Everything works great. Now I want to use the animations built in...
Finespun asked 24/11, 2012 at 13:22

3

Solved

I'm wondering how I can get rid of the blue outlines that Cocoa draws around rows in NSTableView / NSOutlineView when right-clicking on them. NSTableView Outline http://tobidobi.com/nstableview_o...
Cupulate asked 18/11, 2010 at 21:28

2

Solved

Big Sur added a new property style, that defaults to automatic. Even though I'm setting it to full width, I can still see a difference between my app running on Xcode 12.1 vs 12.2 This is a sample ...
Koo asked 11/11, 2020 at 17:58

3

Solved

I have an NSTableView in which I'm changing the colour of the text in a particular column, but when a row is selected, the text does not change to a more appropriate colour so that it's readable. ...
Makell asked 24/4, 2015 at 23:35

4

Solved

I am trying to port an iOS application onto the Mac and I came across a couple of issues during the transition. One of them is the customization of NSTableView. What exactly is the difference betwe...
Pagurian asked 17/1, 2014 at 16:51

14

Solved

Standard highlighting color in OS X applications is blue. Is it possible to change it to another color, e.g. gray? Note that I am using the new view-based NSTableView available starting from OS X...
Battledore asked 27/2, 2012 at 11:0

4

I have two coloumn in NSTableView as Name and Salary with 5-10 values. I want to sort these coloumn after click on header of both the column. There is lots of data present in Internet but I am not ...
Reptant asked 19/6, 2012 at 6:47

4

Solved

Problem Description I'm trying to achieve something that should be simple and fairly common: having a bindings populated NSPopupButton inside bindings populated NSTableView. Apple describes this f...
Steatite asked 5/2, 2013 at 13:43

5

Solved

I have a view-based NSTableView with a custom NSTableCellView and a custom NSTableRowView. I customized both of those classes because I want to change the appearance of each row. By implementing th...
Jewry asked 8/3, 2012 at 14:59

1

Solved

I have an NSTableView whose first row is pushed down 10 pt from the top. Headers are turned off, there are no group rows, cell spacing is 0, and the enclosing scroll view's content inset is 0. UPD...
Crusado asked 30/7, 2020 at 14:19

3

Using code (not the Interface builder) I need to create an NSButton that looks like an image. Specifically I want to use NSImageNameStopProgressFreestandingTemplate and I need it not to look like b...
Duplicate asked 26/12, 2010 at 12:8

2

How do I populate the NSTableview with an array using reactive framework? In iOS for UITableview: self.viewModel.arrayElements.asObservable() .observeOn(MainScheduler.instance) .bind(to: detai...

6

Solved

I have text fields inside a custom view inside an NSOutlineView. Editing one of these cells requires a single click, a pause, and another single click. The first single click selects the table view...
Triboluminescence asked 18/8, 2011 at 0:56

0

I'm running into the strangest issue with my NSOutlineView: Everything is set up in a storyboard, i.e. the outline view and two NSTableCellViews The two cell views are mostly the same, only one s...

8

Solved

I have a NSTableView and I want to disable row selection. The columns of the table view are bound to a NSArrayController and the content of the array does show up in the table view. How can I do ...
Stopper asked 2/9, 2011 at 15:5

9

Solved

I'm using the "Alternating Rows" option in Interface Builder to get alternating row colors on an NSTableView. Is there any way to change the colors of the alternating rows?
Monday asked 20/10, 2010 at 0:9

© 2022 - 2024 — McMap. All rights reserved.