NGridRow Class Reference

Inherits from NSObject
Declared in NGridRow.h

Overview

The NGridRow class defines attributes of grid row. Row objects are immutable.

  parentGrid

Grid that created the row.

@property (readonly) NGridView *parentGrid

Declared In

NGridRow.h

  key

Key of the row.

@property (readonly) NSInteger key

Declared In

NGridRow.h

  coordinate

Coordinate of the row.

@property (readonly) NSInteger coordinate

Declared In

NGridRow.h

  isHeader

A Boolean value that determines whether the row was a header.

@property (readonly) BOOL isHeader

Discussion

Header rows positioned at the top of the grid and used to display titles of columns.

Declared In

NGridRow.h

– initWithGrid:key:coordinate:andHeaderStatus:

Constructor to create row object.

- (id)initWithGrid:(NGridView *)gridView key:(NSInteger)key coordinate:(NSInteger)coordinate andHeaderStatus:(BOOL)isHeader

Parameters

gridView

Related grid view.

key

Row key.

coordinate

Row coordinate.

isHeader

Header status.

Declared In

NGridRow.h

– cellInColumnWithIndex:

Returns the cell in the current row.

- (NGridCell *)cellInColumnWithIndex:(NSInteger)columnCoordinate

Parameters

columnCoordinate

Coordinate of the needed column.

Declared In

NGridRow.h

– yPosition

Returns the position of the row in pixels.

- (CGFloat)yPosition

Declared In

NGridRow.h

– absoluteYPosition

Returns absolute position of the row in pixels. Absolute position is a position of the column if grid view content offset equals to {0, 0}.

- (CGFloat)absoluteYPosition

Declared In

NGridRow.h

– height

Height of the row in pixels.

- (CGFloat)height

Declared In

NGridRow.h

– isFrozen

Row freeze state.

- (BOOL)isFrozen

Discussion

If row is frozen then it’s doesn’t hide when you scroll the grid.

Declared In

NGridRow.h

– isExpanded

Returns a Boolean value indicating whether the row is expanded.

- (BOOL)isExpanded

Declared In

NGridRow.h