Inherits from IGGridViewDataSourceHelper : NSObject
Declared in IGGridViewSingleFieldMultiColumnDataSourceHelper.h

Overview

A IGGridViewDataSourceHelper that treats each row as column. These columns are then divided by the numberOfColumns property, and split into rows. If a row does not have enough columns left over to be displayed, no cell will be created for that spot.

A field must be specified, as this is what will be displayed in each column.

For more information on dataSource helpers, please read the documentation on IGGridViewDataSourceHelper.

Tasks

Properties

allowCellReordering

YES if cell reordering is allowed, or NO if it is not.

@property (nonatomic, assign) BOOL allowCellReordering

Declared In

IGGridViewSingleFieldMultiColumnDataSourceHelper.h

field

A IGGridViewColumnIGGridViewImageColumnDefinition that maps to the one property of your data that will be displayed in the IGGridView (readonly)

@property (nonatomic, readonly, retain) IGGridViewColumnDefinition *field

Declared In

IGGridViewSingleFieldMultiColumnDataSourceHelper.h

numberOfColumns

Gets or sets the number of columns your data should be broken up into

@property (nonatomic, assign) NSInteger numberOfColumns

Declared In

IGGridViewSingleFieldMultiColumnDataSourceHelper.h

Instance Methods

initWithField:

Creates an IGGridViewSingleFieldMultiColumnDataSourceHelper to display your data.

- (id)initWithField:(IGGridViewColumnDefinition *)field

Parameters

field

A IGGridViewColumnIGGridViewImageColumnDefinition that maps to the one property of your data that will be displayed in the IGGridView.

Return Value

Returns an initialized IGGridViewSingleFieldMultiColumnDataSourceHelper object or nil if the object could not be successfully initialized.

Declared In

IGGridViewSingleFieldMultiColumnDataSourceHelper.h