Configuring Fixed Rows
Send Feedback

Glossary Item Box

Topic Overview

Purpose

This topic provides an introductory overview of configuring fixed rows on the IGGridView™ control.

In this topic

This topic contains the following sections:


Introduction

Fixed rows summary

Fixed rows allow end-users to pin rows to the top of the IGGridView. These rows will stay locked into position when the grid is scrolled. To implement fixed rows the IGGridViewDataSourceHelper contains two methods for adding or removing a fixed row on the IGGridView.

  • -(void)gridView:(IGGridView*)gridView addFixedRowAtPath:(IGRowPath *)path;
  • -(void)gridView:(IGGridView*)gridView removeFixedRowAtPath:(IGRowPath *)path;

The IGRowPath instance contains an isRowFixed property that specifies if the row path is fixed or not by returning one of the following IGGridViewFixedRowDirection enumeration values.

  • IGGridViewFixedRowDirectionNone
  • IGGridViewFixedRowDirectionTop

When adopting the IGGridViewDataSource protocol the numberOfFixedRowsInGridView: method can be overridden to specify the number of fixed rows displayed in the IGGridView.


Related Content

Topics

The following topic provides additional information related to this topic.

Topic

Purpose

The topics in this group cover enabling, configuring, and using the IGGridView control’s supported features.