Configuring Dynamic Row Height
Send Feedback

Glossary Item Box

Topic Overview

Purpose

This topic provides an overview of configuring dynamic row height on the IGGridView™ control.

In this topic

This topic contains the following sections:


Introduction

Dynamic Row Height summary

Dynamic row height is a data source helper feature that adjusts a row’s height to make all cells’ content visible. To enable this feature, set the dynamicRowHeight property, found on the IGGridViewDataSourceHelper instance, to YES. The following image illustrates a dynamically sized section of rows.

To support the dynamic row height feature when using a custom column definition, override the resolveHeightForPath:inGrid:usingWidth:inDataSource: IGGridViewColumnDefinition method. The aforementioned method asks a column the amount of height it needs for a row. It provides the actual width of the column so that you can make the calculation properly. After all the columns in a row are calculated, the IGGridViewDataSourceHelper uses the largest height for the row.


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.