Transposing Table

Operating system requirements: iOS 5.0 or later.

Mobile device: iPad.

Description

This example describes transposing of table. 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 Simple Data Grid section):

// Create a transposed proxy data source
NuGridTransposedProxyDataSource *transposedProxyDatasource = [NuGridTransposedProxyDataSource new];
// Set created data source
[transposedProxyDatasource setInnerDataSource: proxyDatasource];
// Set link to transposed proxy data source
[contr setTransposedDataSource:transposedProxyDatasource];
// Set object controlling basic functionality of transposed table
[contr setTransposedDelegate: self];
// Set transposed table use mode
[contr setIsTransposed:YES];

After executing the example the table is transposed:

See also:

Examples of Component Use