Removing Expanders

Operating system requirements: iOS 5.0 or later.

Mobile device: iPad.

Description

This example removes table expanders. After starting the example the following operations are executed:

Source Code

Executing the example requires to place the following code in the body of the executeExample method of the ViewController class (see the Creating a Table with Expanders section):

// Get row header style
NuGridCellStyle *style = [proxyDatasource gridView:(NuGridView *)[contr view] getStyleForHeaderForRow:-1];
// Remove image used by collapsed expander
[style removeCollapsedImage];
// Remove image used by expanded expander
[style removeExpandedImage];

After executing the example the collapsed and expanded expanders are removed:

See also:

Examples of Component Use