Platforms to show: All Mac Windows Linux Cross-Platform
NSTableDataSourceMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Cocoa Controls | MBS MacControls Plugin | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
A listbox stores the data itself, but the NSTableView is just a view.
so you need to handle the storage of the table view yourself by subclassing this class and filling the events.
- 5 events
- event Close
- event numberOfRowsInTableView as Integer
- event objectValue(column as NSTableColumnMBS, row as Integer) as Variant
- event setObjectValue(value as Variant, column as NSTableColumnMBS, row as Integer)
- event sortDescriptorsDidChange(oldDescriptors() as NSSortDescriptorMBS)
This class has no sub classes.
Some properties using for this class:
- NSTableViewMBS.dataSource as NSTableDataSourceMBS
Some examples using this class:
Blog Entries
Xojo Developer Magazine
Release notes
- Version 17.1
- Added NSTableDataSourceMBS sortDescriptorsDidChange event.
The items on this page are in the following plugins: MBS MacControls Plugin.
NSTableColumnMBS - NSTableHeaderCellMBS