Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

Previous items

NSTableViewMBS.view(tableColumn as NSTableColumnMBS, row as Integer) as NSViewMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event Cocoa Controls MBS MacControls Plugin 17.1 Yes No No No No
Function: Asks the delegate for a view to display the specified row and column.
Notes:
see also
https://developer.apple.com/reference/appkit/nstableviewdelegate/1527449-tableview?language=objc

Feedback, Comments & Corrections

NSTableViewMBS.willDisplayCell(cell as NSCellMBS, tableColumn as NSTableColumnMBS, row as Int64)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event Cocoa Controls MBS MacControls Plugin 12.0 Yes No No No No
Function: Informs you that the tableview will display the specified cell at the row in the column.
Notes:
Cell: The cell to be displayed.
TableColumn: The table column.
row: The row index.

The event can modify the display attributes of cell to alter the appearance of the cell.

Because cell is reused for every row in tableColumn, the event must set the display attributes both when drawing special cells and when drawing normal cells.

Note: The implementation of this method must not draw portions of the cell. It should only alter the state of the passed in cell.

Feedback, Comments & Corrections

Previous items

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





Links
MBS Xojo blog