GridColumn Class Reference

Inherits from GridRowCol : NSObject
Declared in GridColumn.h

Overview

Class GridColumn.

– 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

  headerHorizontalAlignment

Gets or sets the header text alignment

@property (nonatomic) NSTextAlignment headerHorizontalAlignment

Discussion

Gets or sets the header 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

  binding

Gets or sets the name of the property this column is bound to.

@property (nonatomic) NSString *binding

Discussion

Gets or sets the name of the property this column is bound to.

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

  widthType

Gets or sets how the width property is interpreted for this column.

@property (nonatomic) GridColumnWidth widthType

Discussion

Gets or sets how the width property is interpreted for this column.

Declared In

GridColumn.h

  minWidth

Gets or sets the minimum width of this column.

@property (nonatomic) int minWidth

Discussion

Gets or sets the minimum width of this column.

Declared In

GridColumn.h

  maxWidth

Gets or sets the maximum width of this column.

@property (nonatomic) int maxWidth

Discussion

Gets or sets the maximum width of this column.

Declared In

GridColumn.h

  renderWidth

Gets the render width of this column.

@property (readonly) int renderWidth

Discussion

Gets the render 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

  allowSorting

Gets or sets whether the user can sort this column by clicking its header.

@property (nonatomic) BOOL allowSorting

Discussion

Gets or sets whether the user can sort this column by clicking its header.

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

  aggregate

Gets or sets the aggregate to display in group header rows for this column.

@property (nonatomic) XuniAggregate aggregate

Discussion

Gets or sets the aggregate to display in group header rows for this column.

Declared In

GridColumn.h

  sortMemberPath

Gets or sets the name of the property to use when sorting this column.

@property (nonatomic) NSString *sortMemberPath

Discussion

Gets or sets the name of the property to use when sorting this column.

Declared In

GridColumn.h

– getSortMemberPath

Gets the name of the property to use when sorting this column.

- (NSString *_Nullable)getSortMemberPath

Discussion

Gets the name of the property to use when sorting 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

– getFormattedHeader

Get formatted header.

- (NSObject *_Nullable)getFormattedHeader

Return Value

formatted header object.

Discussion

Get formatted header.

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