The Data Grid component displays table data on mobile devices with iOS operating system.
Example of component appearance:
Main functions of the component:
Fix rows and columns, one-finger horizontal and vertical kinetic scrolling.
Transpose, that is, ability to rotate grid (also by means of gestures).
Search of grid values and highlighting of values by condition including ability to set highlighting parameters.
Sort and filter values. Including filtering by condition.
Use expanders.
Grid zoom.
Display several rows or columns in the table header. Ability to choose data source attribute to display data in the header.
Selection of grid column or row, changing of row or column headers and their sizes. Merge of cells, cell formatting, automatic word wrap in cells. Format cell borders and contents: text color, font, border width, cell background, alignment.
Insert images in cells. Set up display parameters: location relative to text, margins in pixels from cell border, location of image under or over text.
Support of several simultaneous touches to select a cell rectangular area. Copy selected area to clipboard.
Handle events: touch on row, column or cell; select cell area; event before or after grid update; event before or after row or column selection.
Automatically fit row height depending on the row text height taking into account wrapped lines.
Apply conditional formatting to grid range by means of color scales and icons sets.
Multilingual support, support languages with right-to-left text direction.
All files required to use the component are included in the component. Execute the following operations to connect the component:
Add the following folders with their contents into the project:
Frameworks.
nushared-prognoz.
prognozshared.
Resources.
shared.
Add links to the following platforms and library in the project settings:
NuGridView.framework or component source codes.
libsqlite3.0.dylib.
To connect platforms and libraries, go to the Build Phases tab in project purpose settings, open the Link Binary with Libraries section and add the NuGridView.framework platform and the libsqlite3.0.dylib library to the list.
Make sure that the Objective-C Automatic Reference Counting option is disabled in the project settings.
The Objective-C Automatic Reference Counting option is located on the Build Settings tab in the project purpose setup panel.
In the project purpose settings specify the $(ARCHS_STANDARD_32_BIT) value for the Architectures parameter.
In the project purpose settings specify the path to the Info.plist file in the Resources folder for the Info.plist File parameter.
In the project purpose settings specify the path to the pch file for the Prefix Header parameter.
After connecting the following set is available for working with component:
The set of example of component use is given in the Examples of Component Use section.
See also: