Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSTableColumnMBS class.

NSTableColumnMBS.Constructor(identifier as string)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Controls MBS MacControls Plugin 8.4 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Initializes a NSTableColumn with identifier as its identifier and with an NSTextFieldCell as its data cell.

NSTableColumnMBS.dataCellForRow(row as Integer) as NSCellMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Controls MBS MacControls Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Returns the NSCell object used by the NSTableView to draw values for the receiver.

NSTableView always calls this method. By default, this method just calls dataCell. Subclassers can override if they need to potentially use different cells for different rows. Subclasses should expect this method to be invoked with row equal to –1 in cases where no actual row is involved but the table view needs to get some generic cell info.

NSTableColumnMBS.sizeToFit

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Controls MBS MacControls Plugin 8.4 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Resizes the receiver to fit the width of its header cell.

If the maximum width is less than the width of the header, the maximum is increased to the header's width. Similarly, if the minimum width is greater than the width of the header, the minimum is reduced to the header's width. Marks the NSTableView as needing display if the width actually changes.

The items on this page are in the following plugins: MBS MacControls Plugin.


The biggest plugin in space...