DAArrayDataSourceDelegate Protocol

From RemObjects Wiki
Jump to: navigation, search

This is a Library topic for Data Abstract for Xcode
This page is generated from external data, please do not update

ProtocolsClassesEnumsImplements

Contents

Overview

The DAArrayDataSourceDelegate Protocol describes the delegate methods that DAArrayDataSource will call on its delegate object for applying advanced features, like row coloring or handling double clicks on the row.


Location

DataAbstract/DAArrayDataSource.h


Optional Methods

tableView:didReceiveDoubleClickOnColummn:row:

Informs the delegate that a double click was performed on the given column at the given row. This method can be useful if you want to hook that event and show your custom editor sheet for editing a row or cell that was clicked.


@optional - (void) tableView:(NSTableView *)tableView didReceiveDoubleClickOnColummn:(NSTableColumn *)column row:(NSInteger)rowIndex


Parameters:

  • tableView: Represents the instance of the NSTableView where that event happened.
  • column: Represents table column that has been clicked.
  • rowIndex: Represents the index of the row that has been clicked.


tableView:needsTextColor:backgroundColor:forRow:



@optional - (void) tableView:(NSTableView *)tableView needsTextColor:(NSColor **)text backgroundColor:(NSColor **)back forRow:(NSInteger)rowIndex


Parameters:

  • tableView:
  • text:
  • back:
  • rowIndex:


tableView:needsTextColor:backgroundColor:forTableColumn:row:



@optional - (void) tableView:(NSTableView *)tableView needsTextColor:(NSColor **)text backgroundColor:(NSColor **)back forTableColumn:(NSTableColumn *)TC row:(NSInteger)rowIndex


Parameters:

  • tableView:
  • text:
  • back:
  • TC:
  • rowIndex:


tableView:needsValue:forTableColumn:row:



@optional - (void) tableView:(NSTableView *)tableView needsValue:(id *)value forTableColumn:(NSTableColumn *)TC row:(NSInteger)rowIndex


Parameters:

  • tableView:
  • value:
  • TC:
  • rowIndex:


tableViewDidReceiveDoubleClick:



@optional - (void) tableViewDidReceiveDoubleClick:(NSTableView *)tableView


Parameters:

  • tableView:


tableViewSelectionDidChange:



@optional - (void) tableViewSelectionDidChange:(NSTableView *)tableView


Parameters:

  • tableView:


tableViewSortingDidChange:



@optional - (void) tableViewSortingDidChange:(NSTableView *)tableView


Parameters:

  • tableView:


See Also


Product: RemObjects Data Abstract
Available Editions: Data Abstract for .NET, Delphi and Xcode

GlossaryArticlesFeaturesLibrarySamples

Personal tools
Namespaces

Variants
Actions
Navigation
products
platforms
special
Toolbox