Operating system requirements: iOS 5.0 or later.
Mobile device: iPad.
This example describes transposing of table. After starting the example the following operations are executed:
A source proxy data source is set for transposed table source.
A link to transposed proxy data source is set for the object controlling table.
An object controlling basic functionality of transposed table is set.
Transposed table use mode is set.
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: