Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

NSTableDataSourceMBS.Close
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event Cocoa Controls MBS MacControls Plugin 8.4 Yes No No No No
Function: The event is called when the datasource is destroyed.

Feedback, Comments & Corrections

NSTableDataSourceMBS.numberOfRowsInTableView as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event Cocoa Controls MBS MacControls Plugin 8.4 Yes No No No No
Function: Called when the table view needs to know the number of rows.
Notes: numberOfRowsInTableView is called very frequently, so it must be efficient.

Feedback, Comments & Corrections

NSTableDataSourceMBS.objectValue(column as NSTableColumnMBS, row as Integer) as Variant
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event Cocoa Controls MBS MacControls Plugin 8.4 Yes No No No No
Function: Called when a value is required for a given cell.
Notes: Please implement your own arrays to store values.

Feedback, Comments & Corrections

NSTableDataSourceMBS.setObjectValue(value as Variant, column as NSTableColumnMBS, row as Integer)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event Cocoa Controls MBS MacControls Plugin 8.4 Yes No No No No
Function: Called when a cell value is saved to the datasource.

Feedback, Comments & Corrections

NSTableDataSourceMBS.sortDescriptorsDidChange(oldDescriptors() as NSSortDescriptorMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event Cocoa Controls MBS MacControls Plugin 17.1 Yes No No No No
Function: Called by TableView to indicate that sorting may need to be done.
Notes: The data source typically sorts and reloads the data, and adjusts the selections accordingly. If you need to know the current sort descriptors and the data source doesn’t manage them itself, you can get the current sort descriptors by calling TableView.sortDescriptors function.

Feedback, Comments & Corrections

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




Links
MBS Xojo PDF Plugins