diff options
Diffstat (limited to 'Source/SPCopyTable.h')
-rw-r--r-- | Source/SPCopyTable.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/SPCopyTable.h b/Source/SPCopyTable.h index 498ba48c..6009e5d1 100644 --- a/Source/SPCopyTable.h +++ b/Source/SPCopyTable.h @@ -174,6 +174,17 @@ extern NSInteger SPEditCopyAsSQL; - (BOOL)isCellEditingMode; - (BOOL)isCellComplex; +/*! + @method shouldUseFieldEditorForRow:column: + @abstract Determine whether to trigger sheet editing or in-cell editing for a cell + @discussion Checks the column data type, and the cell contents if necessary, to check + the most appropriate editing type. + @param rowIndex The row in the table the cell is present in + @param colIndex The *original* column in the table the cell is present in (ie pre-reordering) + @result YES if sheet editing should be used, NO otherwise. +*/ +- (BOOL)shouldUseFieldEditorForRow:(NSUInteger)rowIndex column:(NSUInteger)colIndex; + - (IBAction)executeBundleItemForDataTable:(id)sender; - (void)selectTableRows:(NSArray*)rowIndices; |