GridColumn Class Reference
Inherits from | GridRowCol : NSObject |
---|---|
Declared in | GridColumn.h |
– init
Initialize an object for GridColumn.
- (id _Nonnull)init
Return Value
an object for GridColumn.
Discussion
Initialize an object for GridColumn.
Declared In
GridColumn.h
horizontalAlignment
Gets or sets the text alignment
@property (nonatomic) NSTextAlignment horizontalAlignment
Discussion
Gets or sets the text alignment
Declared In
GridColumn.h
name
Gets or sets the name of this column.
@property (nonatomic) NSString *name
Discussion
Gets or sets the name of this column.
Declared In
GridColumn.h
dataType
Gets or sets the type of value stored in this column.
@property (nonatomic) XuniDataType dataType
Discussion
Gets or sets the type of value stored in this column.
Declared In
GridColumn.h
required
Gets or sets whether values in this column are required.
@property (nonatomic) BOOL required
Discussion
Gets or sets whether values in this column are required.
Declared In
GridColumn.h
inputType
Gets or sets the keyboard type used to edit values in this column.
@property (nonatomic) UIKeyboardType inputType
Discussion
Gets or sets the keyboard type used to edit values in this column.
Declared In
GridColumn.h
mask
Gets or sets a mask to be used while editing values in this column.
@property (nonatomic) NSString *mask
Discussion
Gets or sets a mask to be used while editing values in this column.
Declared In
GridColumn.h
width
Gets or sets the width of this column.
@property (nonatomic) double width
Discussion
Gets or sets the width of this column.
Declared In
GridColumn.h
header
Gets or sets the text displayed in the column header.
@property (nonatomic) NSString *header
Discussion
Gets or sets the text displayed in the column header.
Declared In
GridColumn.h
dataMap
Gets or sets the data map used to convert raw values into display values for this column.
@property (nonatomic) GridDataMap *dataMap
Discussion
Gets or sets the data map used to convert raw values into display values for this column.
Declared In
GridColumn.h
format
Gets or sets the format string used to convert raw values into display values for this column.
@property (nonatomic) NSString *format
Discussion
Gets or sets the format string used to convert raw values into display values for this column.
Declared In
GridColumn.h
formatter
Gets or sets the NSFormatter object used to convert raw values into display values for this column.
@property (nonatomic) NSFormatter *formatter
Discussion
Gets or sets the NSFormatter object used to convert raw values into display values for this column.
Declared In
GridColumn.h
sortDirection
Gets the current sort direction for this column.
@property (readonly) NSComparisonResult sortDirection
Discussion
Gets the current sort direction for this column.
Declared In
GridColumn.h
– getBoundDataType:
Get bound data type.
- (XuniDataType)getBoundDataType:(NSObject *_Nonnull)target
Parameters
target |
the target. |
---|
Return Value
the data type of the binding.
Discussion
Get bound data type.
Declared In
GridColumn.h
– getBoundValue:
Get bound value.
- (NSObject *_Nullable)getBoundValue:(NSObject *_Nonnull)target
Parameters
target |
the target. |
---|
Return Value
a bound value.
Discussion
Get bound value.
Declared In
GridColumn.h
– setBoundValue:forTarget:
Set bound value for the target.
- (void)setBoundValue:(NSObject *_Nullable)value forTarget:(NSObject *_Nonnull)target
Parameters
value |
the specified value. |
---|---|
target |
the target. |
Discussion
Set bound value for the target.
Declared In
GridColumn.h
– getFormattedValue:
Get formatted value.
- (NSObject *_Nullable)getFormattedValue:(NSObject *_Nullable)value
Parameters
value |
the value. |
---|
Return Value
a formatted value.
Discussion
Get formatted value.
Declared In
GridColumn.h
– setSortDirection:
Internal, set the direction to sort this column by.
- (void)setSortDirection:(NSComparisonResult)direction
Parameters
direction |
the direction to sort by. |
---|
Discussion
Internal, set the direction to sort this column by.
Declared In
GridColumn.h